wok-next view diggerjs/receipt @ rev 13665

ccid: typo in usbdropdir, add group pcscd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 24 11:22:59 2012 +0100 (2012-11-24)
parents
children 10baa41a7882
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 }