wok-6.x view diggerjs/receipt @ rev 10775

yaff: need to follow slitaz-dev-tools version (and so taged repos to include baba-scripts files)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 01 00:20:33 2011 +0200 (2011-06-01)
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 }