wok diff diggerjs/receipt @ rev 10311

thunar-vfs: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 21:27:11 2011 +0000 (2011-05-21)
parents
children 10baa41a7882
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/diggerjs/receipt	Sat May 21 21:27:11 2011 +0000
     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 +}