wok-current diff javascript-boulderdash/receipt @ rev 24255
updated perl-test-fatal (0.014 -> 0.016)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 09:59:54 2022 +0100 (2022-01-02) |
parents | |
children | d8c511e24c20 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/javascript-boulderdash/receipt Sun Jan 02 09:59:54 2022 +0100 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="javascript-boulderdash" 1.7 +GITHASH="f2fca2eda636e2a072fcec6205028bf222e0710e" 1.8 +VERSION="2011" 1.9 +CATEGORY="games" 1.10 +SHORT_DESC="An HTML5 implementation of the c64 classic Boulderdash game" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="MIT" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash" 1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/var/www $fs/usr/share/applications 1.21 + cp -a $src $fs/var/www/$PACKAGE 1.22 + cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT 1.23 +[Desktop Entry] 1.24 +Type=Application 1.25 +Name=Boulder Dash 1.26 +Exec=sh -c "url=http://127.0.0.1/$PACKAGE/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" 1.27 +Icon=applications-games 1.28 +Terminal=false 1.29 +Categories=Game 1.30 +EOT 1.31 +}