# HG changeset patch # User Pascal Bellard # Date 1304330516 -7200 # Node ID c19c0228a9836d55a04af428d598937feaa690c2 # Parent cef45f41aa879677a50f64f00dbd3467b267fb0f Add diggerjs diff -r cef45f41aa87 -r c19c0228a983 diggerjs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diggerjs/receipt Mon May 02 12:01:56 2011 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="diggerjs" +VERSION="0.9.6" +CATEGORY="games" +SHORT_DESC="Javascript BoulerDash/Digger clone." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="digger.js" +TARBALL="$SOURCE-$VERSION.zip" +WEB_SITE="http://www.heise.de/software/download/digger.js/8148" +WGET_URL="http://www.tikkel.de/download/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/diggerjs + cp -a $src/* $fs/usr/share/diggerjs + cp -a stuff/* $fs + + # translate + sed -i 's/Daten werden geladen ... (Grafiken)/Loading graphics.../' \ + $fs/usr/share/diggerjs/*.html + + # remove TODO stuff... + sed -i '/HighScorefunktion programmieren/d' \ + $fs/usr/share/diggerjs/main.js + + # remove java stuff... + sed -i '//d' $fs/usr/share/diggerjs/*.html + rm -f $fs/usr/share/diggerjs/SndServer.class + rm -f $fs/usr/share/diggerjs/*/*.au +} diff -r cef45f41aa87 -r c19c0228a983 diggerjs/stuff/usr/share/applications/boulder.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diggerjs/stuff/usr/share/applications/boulder.desktop Mon May 02 12:01:56 2011 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Boulder +Exec=browser file:///usr/share/diggerjs/boulder.html +Icon=other.png +Terminal=false +Categories=Game; +Comment=BoulderDash game diff -r cef45f41aa87 -r c19c0228a983 diggerjs/stuff/usr/share/applications/digger.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diggerjs/stuff/usr/share/applications/digger.desktop Mon May 02 12:01:56 2011 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Digger +Exec=browser file:///usr/share/diggerjs/digger.html +Icon=other.png +Terminal=false +Categories=Game; +Comment=Digger game diff -r cef45f41aa87 -r c19c0228a983 diggerjs/stuff/usr/share/applications/gnome.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/diggerjs/stuff/usr/share/applications/gnome.desktop Mon May 02 12:01:56 2011 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Gnome digger +Exec=browser file:///usr/share/diggerjs/gnome.html +Icon=other.png +Terminal=false +Categories=Game; +Comment=Gnome xdigger game