# SliTaz package receipt. PACKAGE="Arkanoid" GITHASH="0b49ab21d5b135b2718fe0664c6c92b4deb2b46e" VERSION="2016" CATEGORY="games" SHORT_DESC="The classic atari arcade game arkanoid" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="https://github.com/shiningdragon/Arkanoid" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/commits/master 2>/dev/null | \ sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y -d } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/www $fs/usr/share/applications cp -a $src $fs/var/www/$PACKAGE cat > $fs/usr/share/applications/$PACKAGE.desktop <