wok-next diff fish/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | c7c3567bd8d4 |
children | d5aab818505e |
line diff
1.1 --- a/fish/receipt Wed Feb 18 09:35:09 2015 +0100 1.2 +++ b/fish/receipt Sun Jul 15 10:27:39 2018 +0300 1.3 @@ -1,32 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="fish" 1.8 -VERSION="2.1.1" 1.9 +VERSION="2.5.0" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="The FrIendly SHell" 1.12 +SHORT_DESC="The Friendly Interactive SHell" 1.13 MAINTAINER="tcg.thegamer@gmail.com" 1.14 LICENSE="GPL2" 1.15 +WEB_SITE="http://fishshell.com/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://fishshell.com" 1.19 -WGET_URL="$WEB_SITE/files/$VERSION/$TARBALL" 1.20 +WGET_URL="https://github.com/fish-shell/fish-shell/releases/download/$VERSION/$TARBALL" 1.21 1.22 -DEPENDS="ncurses gcc-lib-base" 1.23 BUILD_DEPENDS="ncurses-dev" 1.24 +SPLIT="fish-doc" 1.25 1.26 compile_rules() 1.27 { 1.28 - export LDFLAGS="$LDFLAGS -ltinfo" 1.29 - ./configure \ 1.30 - $CONFIGURE_ARGS && 1.31 - make && 1.32 - make DESTDIR=$DESTDIR install 1.33 + ./configure $CONFIGURE_ARGS && make && make install 1.34 } 1.35 1.36 genpkg_rules() 1.37 { 1.38 - mkdir -p $fs/usr/share 1.39 - cp -a $install/usr/bin $fs/usr 1.40 - cp -a $install/usr/etc $fs 1.41 - cp -a $install/usr/share/fish $fs/usr/share 1.42 - cp -a $install/usr/share/locale $fs/usr/share 1.43 + case $PACKAGE in 1.44 + fish) 1.45 + copy @std 1.46 + DEPENDS="ncurses" 1.47 + ;; 1.48 + fish-doc) 1.49 + copy doc/ 1.50 + CAT="doc|documentation" 1.51 + ;; 1.52 + esac 1.53 }