wok-6.x view 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 |
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 }