wok annotate asciiquarium/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | e6a4cd87fdcb |
children | a66f312c374b |
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 |