wok-current annotate fish/receipt @ rev 24551

updated fish and fish-doc (3.0.2 -> 3.3.1)
author Hans-G?nter Theisgen
date Fri Feb 25 09:50:31 2022 +0100 (2022-02-25)
parents 5ea0ce1cecc0
children b15d3d872ae2
rev   line source
tcg@17299 1 # SliTaz package receipt.
tcg@17299 2
tcg@17299 3 PACKAGE="fish"
Hans-G?nter@24551 4 VERSION="3.3.1"
tcg@17299 5 CATEGORY="system-tools"
Hans-G?nter@22726 6 SHORT_DESC="The FrIendly SHell."
tcg@17299 7 MAINTAINER="tcg.thegamer@gmail.com"
tcg@17299 8 LICENSE="GPL2"
Hans-G?nter@22726 9 WEB_SITE="https://fishshell.com"
Hans-G?nter@22726 10
Hans-G?nter@24551 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@22726 12 WGET_URL="https://github.com/fish-shell/fish-shell/releases/download/$VERSION/$TARBALL"
tcg@17299 13
Hans-G?nter@22726 14 DEPENDS="gcc83-lib-base ncurses"
Hans-G?nter@24551 15 BUILD_DEPENDS="cmake gcc83 ncurses-dev ncursesw-extra"
pascal@17301 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
tcg@17299 23 compile_rules()
tcg@17299 24 {
Hans-G?nter@24551 25 export CC=gcc-83
Hans-G?nter@24551 26 export CXX=g++-83
Hans-G?nter@24551 27 mkdir _build
Hans-G?nter@24551 28 cd _build
Hans-G?nter@24551 29 cmake .. \
Hans-G?nter@24551 30 -D CMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@24551 31 make install DESTDIR=$DESTDIR
tcg@17299 32 }
tcg@17299 33
tcg@17299 34 genpkg_rules()
tcg@17299 35 {
tcg@17313 36 mkdir -p $fs/usr/share
Hans-G?nter@22726 37
Hans-G?nter@22726 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22726 39 cp -a $install/usr/etc $fs
Hans-G?nter@22726 40 cp -a $install/usr/share/fish $fs/usr/share
Hans-G?nter@24551 41 # moved to package fish-lang:
Hans-G?nter@24551 42 # cp -a $install/usr/share/locale $fs/usr/share
tcg@17299 43 }