# SliTaz package receipt. PACKAGE="javascript-boulderdash" GITHASH="f2fca2eda636e2a072fcec6205028bf222e0710e" VERSION="2011" CATEGORY="games" SHORT_DESC="An HTML5 implementation of the c64 classic Boulderdash game" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash" WGET_URL="$WEB_SITE/archive/$GITHASH.zip" # What is the latest version available today? current_version() { wget -O - https://github.com/jakesgordon/javascript-boulderdash/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 <