wok-next view diggerjs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 10baa41a7882
children 0cbe4b1f2230
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 LICENSE="unknown"
9 WEB_SITE="https://www.heise.de/download/product/digger.js-8148"
11 SOURCE="digger.js"
12 TARBALL="$SOURCE-$VERSION.zip"
13 WGET_URL="http://www.tikkel.de/download/$TARBALL"
15 genpkg_rules() {
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 }