wok-next rev 9985

Add diggerjs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 23:32:19 2011 +0200 (2011-05-18)
parents f6ab11a960e4
children e712b71ca8de
files diggerjs/receipt diggerjs/stuff/usr/share/applications/boulder.desktop diggerjs/stuff/usr/share/applications/digger.desktop diggerjs/stuff/usr/share/applications/gnome.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/diggerjs/receipt	Wed May 18 23:32:19 2011 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="diggerjs"
     1.7 +VERSION="0.9.6"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Javascript BoulerDash/Digger clone."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="digger.js"
    1.12 +TARBALL="$SOURCE-$VERSION.zip"
    1.13 +WEB_SITE="http://www.heise.de/software/download/digger.js/8148"
    1.14 +WGET_URL="http://www.tikkel.de/download/$TARBALL"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/share/diggerjs
    1.20 +	cp -a $src/* $fs/usr/share/diggerjs
    1.21 +	cp -a stuff/* $fs
    1.22 +
    1.23 +	# translate
    1.24 +	sed -i 's/Daten werden geladen .*)/Loading graphics.../' \
    1.25 +		$fs/usr/share/diggerjs/*.*
    1.26 +
    1.27 +	# remove TODO stuff...
    1.28 +	sed -i '/HighScorefunktion programmieren/d' \
    1.29 +		$fs/usr/share/diggerjs/main.js
    1.30 +	
    1.31 +	# remove java stuff...
    1.32 +	sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html
    1.33 +	rm -f $fs/usr/share/diggerjs/SndServer.class
    1.34 +	rm -f $fs/usr/share/diggerjs/*/*.au
    1.35 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/diggerjs/stuff/usr/share/applications/boulder.desktop	Wed May 18 23:32:19 2011 +0200
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Name=Boulder
     2.7 +Exec=browser file:///usr/share/diggerjs/boulder.html
     2.8 +Icon=other.png
     2.9 +Terminal=false
    2.10 +Categories=Game;
    2.11 +Comment=BoulderDash game
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/diggerjs/stuff/usr/share/applications/digger.desktop	Wed May 18 23:32:19 2011 +0200
     3.3 @@ -0,0 +1,8 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=Digger
     3.7 +Exec=browser file:///usr/share/diggerjs/digger.html
     3.8 +Icon=other.png
     3.9 +Terminal=false
    3.10 +Categories=Game;
    3.11 +Comment=Digger game
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/diggerjs/stuff/usr/share/applications/gnome.desktop	Wed May 18 23:32:19 2011 +0200
     4.3 @@ -0,0 +1,8 @@
     4.4 +[Desktop Entry]
     4.5 +Type=Application
     4.6 +Name=Gnome digger
     4.7 +Exec=browser file:///usr/share/diggerjs/gnome.html
     4.8 +Icon=other.png
     4.9 +Terminal=false
    4.10 +Categories=Game;
    4.11 +Comment=Gnome xdigger game