wok-next view diggerjs/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | d5aab818505e |
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 LICENSE="unknown"
9 WEB_SITE="https://www.heise.de/download/product/digger.js-8148"
10 HOST_ARCH="any"
12 SOURCE="digger.js"
13 TARBALL="$SOURCE-$VERSION.zip"
14 WGET_URL="http://www.tikkel.de/download/$TARBALL"
16 genpkg_rules() {
17 mkdir -p $fs/usr/share/diggerjs
18 cp -a $src/* $fs/usr/share/diggerjs
19 cp -a $stuff/* $fs
21 # translate
22 sed -i 's/Daten werden geladen .*)/Loading graphics.../' \
23 $fs/usr/share/diggerjs/*.*
25 # remove TODO stuff...
26 sed -i '/HighScorefunktion programmieren/d' \
27 $fs/usr/share/diggerjs/main.js
29 # remove java stuff...
30 sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html
31 rm -f $fs/usr/share/diggerjs/SndServer.class
32 rm -f $fs/usr/share/diggerjs/*/*.au
33 }