wok-current diff javascript-racer/receipt @ rev 24098
Up hplip (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 14 08:03:53 2021 +0000 (2021-09-14) |
parents | |
children | d8c511e24c20 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/javascript-racer/receipt Tue Sep 14 08:03:53 2021 +0000 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="javascript-racer" 1.7 +VERSION="1.0" 1.8 +GITTAG="79198ab1485445220ceec011f54d8c2ec4e8d29d" 1.9 +CATEGORY="games" 1.10 +SHORT_DESC="A tux racer in html5" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="https://github.com/jakesgordon/javascript-racer/" 1.14 +TARBALL="$PACKAGE-$VERSION.zip" 1.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip" 1.16 +HOST_ARCH="any" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/var/www/javascript-racer $fs/usr/share/applications 1.22 + cp -a $src/[a-z]* $fs/var/www/javascript-racer 1.23 + chown -R 80.80 $fs/var/www/javascript-racer 1.24 + cat > $fs/usr/share/applications/javascript-racer.desktop <<EOT 1.25 +[Desktop Entry] 1.26 +Type=Application 1.27 +Name=JSracer 1.28 +Exec=sh -c "url=file:///var/www/javascript-racer/v4.final.html; tazweb --notoolbar \$url || browser \$url" 1.29 +Terminal=false 1.30 +Categories=Game; 1.31 +Icon=applications-games 1.32 +EOT 1.33 +}