wok-stable annotate diggerjs/receipt @ rev 11450
zlib: enable LFS patch
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 10:53:09 2011 +0100 (2011-12-17) |
parents | |
children |
rev | line source |
---|---|
pascal@9985 | 1 # SliTaz package receipt. |
pascal@9985 | 2 |
pascal@9985 | 3 PACKAGE="diggerjs" |
pascal@9985 | 4 VERSION="0.9.6" |
pascal@9985 | 5 CATEGORY="games" |
pascal@9985 | 6 SHORT_DESC="Javascript BoulerDash/Digger clone." |
pascal@9985 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9985 | 8 SOURCE="digger.js" |
pascal@9985 | 9 TARBALL="$SOURCE-$VERSION.zip" |
pascal@9985 | 10 WEB_SITE="http://www.heise.de/software/download/digger.js/8148" |
pascal@9985 | 11 WGET_URL="http://www.tikkel.de/download/$TARBALL" |
pascal@9985 | 12 |
pascal@9985 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9985 | 14 genpkg_rules() |
pascal@9985 | 15 { |
pascal@9985 | 16 mkdir -p $fs/usr/share/diggerjs |
pascal@9985 | 17 cp -a $src/* $fs/usr/share/diggerjs |
pascal@9985 | 18 cp -a stuff/* $fs |
pascal@9985 | 19 |
pascal@9985 | 20 # translate |
pascal@9985 | 21 sed -i 's/Daten werden geladen .*)/Loading graphics.../' \ |
pascal@9985 | 22 $fs/usr/share/diggerjs/*.* |
pascal@9985 | 23 |
pascal@9985 | 24 # remove TODO stuff... |
pascal@9985 | 25 sed -i '/HighScorefunktion programmieren/d' \ |
pascal@9985 | 26 $fs/usr/share/diggerjs/main.js |
pascal@9985 | 27 |
pascal@9985 | 28 # remove java stuff... |
pascal@9985 | 29 sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html |
pascal@9985 | 30 rm -f $fs/usr/share/diggerjs/SndServer.class |
pascal@9985 | 31 rm -f $fs/usr/share/diggerjs/*/*.au |
pascal@9985 | 32 } |