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