wok-4.x view diggerjs/receipt @ rev 12322

get-wfica: update (thanks Carl)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 22 18:22:54 2012 +0200 (2012-08-22)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="diggerjs"
4 VERSION="0.9.6"
5 CATEGORY="games"
6 SHORT_DESC="Javascript BoulerDash/Digger clone."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="digger.js"
9 TARBALL="$SOURCE-$VERSION.zip"
10 WEB_SITE="http://www.heise.de/software/download/digger.js/8148"
11 WGET_URL="http://www.tikkel.de/download/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/diggerjs
17 cp -a $src/* $fs/usr/share/diggerjs
18 cp -a stuff/* $fs
20 # translate
21 sed -i 's/Daten werden geladen .*)/Loading graphics.../' \
22 $fs/usr/share/diggerjs/*.*
24 # remove TODO stuff...
25 sed -i '/HighScorefunktion programmieren/d' \
26 $fs/usr/share/diggerjs/main.js
28 # remove java stuff...
29 sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html
30 rm -f $fs/usr/share/diggerjs/SndServer.class
31 rm -f $fs/usr/share/diggerjs/*/*.au
32 }