wok rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (14 months ago)
parents addbced568eb
children bb1b4a4c5a46
files javascript-boulderdash/receipt webgames/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/javascript-boulderdash/receipt	Mon Oct 04 18:07:23 2021 +0000
     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 +}
     2.1 --- a/webgames/receipt	Mon Oct 04 14:07:53 2021 +0000
     2.2 +++ b/webgames/receipt	Mon Oct 04 18:07:23 2021 +0000
     2.3 @@ -44,6 +44,8 @@
     2.4  http://games.slitaz.org/sudoku/index.html Sudoku	Puzzle
     2.5  http://games.slitaz.org/loderunner/lodeRunner.html\
     2.6  	Lode\ Runner	Plateform\ game|[fr]Jeu\ de\ plateforme
     2.7 +http://games.slitaz.org/javascript-boulderdash/index.html\
     2.8 +	Boulder\ Dash	Plateform\ game|[fr]Jeu\ de\ plateforme
     2.9  http://games.slitaz.org/digger/digger.html\
    2.10  	Digger		Plateform\ game|[fr]Jeu\ de\ plateforme
    2.11  http://games.slitaz.org/same/index.html	Same