wok-next view diggerjs/receipt @ rev 15939

Add compton (X compositor) Fork of xcompmgr with bug fixes and lots of improvments
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 22 19:24:36 2014 +0100 (2014-02-22)
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 }