# SliTaz package receipt. PACKAGE="asciiquarium" VERSION="1.1" CATEGORY="system-tools" SHORT_DESC="Text console screensaver." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" #WEB_SITE="https://robobunny.com/projects/asciiquarium/html/index.cgi" WEB_SITE="https://github.com/cmatsuoka/asciiquarium" TARBALL="${PACKAGE}_${VERSION}.tar.gz" WGET_URL="https://robobunny.com/projects/asciiquarium/$TARBALL" TAGS="screensaver" DEPENDS="perl-animation perl-curses" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/Asciiquarium v/!d;s|.*sciiquarium v||;q' } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/asciiquarium $fs/usr/bin chmod a+x $fs/usr/bin/asciiquarium chown -R root:root $fs }