Receipt for package "boulderdash"
# SliTaz package receipt. PACKAGE="boulderdash" VERSION="0" CATEGORY="games" SHORT_DESC="C64 classic Boulderdash in HTML5 and JavaScript" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" TARBALL="$PACKAGE-$VERSION.zip" WEB_SITE="https://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/" WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master" # 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%m%d -d } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/applications $fs/var/www/boulderdash \ $install/usr/share/doc cp -a $src/* $fs/var/www/boulderdash mv $fs/var/www/boulderdash/README.md $install/usr/share/doc cat > $fs/usr/share/applications/boulderdash.desktop <<EOT [Desktop Entry] Type=Application Encoding=UTF-8 Name=Boulderdash Exec=sh -c "url=http://127.0.0.1/boulderdash/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" Terminal=false Categories=Application;Game; EOT }
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)