
Receipt for package "racer10k"
# SliTaz package receipt. PACKAGE="racer10k" VERSION="1.0" GITTAG="e21d88653bfb959e8865d08f01592f6b4fa17fa7" CATEGORY="games" SHORT_DESC="A tiny tux racer in html5" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MIT" WEB_SITE="https://github.com/onaluf/RacerJS" TARBALL="$PACKAGE-$VERSION.zip" WGET_URL="$WEB_SITE/archive/$GITTAG.zip" HOST_ARCH="any" # 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%m%d -d } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/www/racer10k $fs/usr/share/applications cp -a $src/* $fs/var/www/racer10k chown -R 80.80 $fs/var/www/racer10k cat > $fs/usr/share/applications/racer10k.desktop <<EOT [Desktop Entry] Type=Application Name=racer Exec=sh -c "url=file:///var/www/racer10k/racer.html; tazweb --notoolbar \$url || browser \$url" Terminal=false Categories=Game; Icon=applications-games EOT }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)