wok-6.x annotate asciiquarium/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | e6a4cd87fdcb |
children |
rev | line source |
---|---|
pascal@1732 | 1 # SliTaz package receipt. |
pascal@1732 | 2 |
pascal@1732 | 3 PACKAGE="asciiquarium" |
Hans-G?nter@20722 | 4 VERSION="1.1" |
pascal@1732 | 5 CATEGORY="system-tools" |
pascal@1732 | 6 SHORT_DESC="Text console screensaver." |
pascal@1732 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL2" |
pascal@21178 | 9 #WEB_SITE="https://robobunny.com/projects/asciiquarium/html/index.cgi" |
pascal@21178 | 10 WEB_SITE="https://github.com/cmatsuoka/asciiquarium" |
Hans-G?nter@20722 | 11 |
pascal@1732 | 12 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
pascal@20671 | 13 WGET_URL="https://robobunny.com/projects/asciiquarium/$TARBALL" |
al@14789 | 14 TAGS="screensaver" |
al@14789 | 15 |
pascal@1732 | 16 DEPENDS="perl-animation perl-curses" |
pascal@1732 | 17 |
pascal@24491 | 18 # What is the latest version available today? |
pascal@24491 | 19 current_version() |
pascal@24491 | 20 { |
pascal@24491 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24491 | 22 sed '/Asciiquarium v/!d;s|.*sciiquarium v||;q' |
pascal@24491 | 23 } |
pascal@24491 | 24 |
pascal@1732 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1732 | 26 genpkg_rules() |
pascal@1732 | 27 { |
pascal@1732 | 28 mkdir -p $fs/usr/bin |
pascal@1732 | 29 cp -a $src/asciiquarium $fs/usr/bin |
pascal@1732 | 30 chmod a+x $fs/usr/bin/asciiquarium |
al@14789 | 31 chown -R root:root $fs |
pascal@1732 | 32 } |
pascal@1732 | 33 |