wok diff diggerjs/receipt @ rev 12593
elfutils: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 22:35:39 2012 +0200 (2012-04-28) |
parents | |
children | 10baa41a7882 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/diggerjs/receipt Sat Apr 28 22:35:39 2012 +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 +}