wok-next annotate diggerjs/receipt @ rev 18956
Add python-peak-rules package; add it to python-turbogears dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 09 02:21:29 2016 +0200 (2016-03-09) |
parents | 91e3d62702fc |
children | d5aab818505e |
rev | line source |
---|---|
pascal@9985 | 1 # SliTaz package receipt. |
pascal@9985 | 2 |
pascal@9985 | 3 PACKAGE="diggerjs" |
pascal@9985 | 4 VERSION="0.9.6" |
pascal@9985 | 5 CATEGORY="games" |
pascal@9985 | 6 SHORT_DESC="Javascript BoulerDash/Digger clone." |
pascal@9985 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16660 | 8 LICENSE="unknown" |
pascal@9985 | 9 SOURCE="digger.js" |
pascal@9985 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@9985 | 11 WEB_SITE="http://www.heise.de/software/download/digger.js/8148" |
pascal@9985 | 12 WGET_URL="http://www.tikkel.de/download/$TARBALL" |
pascal@9985 | 13 |
pascal@9985 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9985 | 15 genpkg_rules() |
pascal@9985 | 16 { |
pascal@9985 | 17 mkdir -p $fs/usr/share/diggerjs |
pascal@9985 | 18 cp -a $src/* $fs/usr/share/diggerjs |
pascal@9985 | 19 cp -a stuff/* $fs |
pascal@9985 | 20 |
pascal@9985 | 21 # translate |
pascal@9985 | 22 sed -i 's/Daten werden geladen .*)/Loading graphics.../' \ |
pascal@9985 | 23 $fs/usr/share/diggerjs/*.* |
pascal@9985 | 24 |
pascal@9985 | 25 # remove TODO stuff... |
pascal@9985 | 26 sed -i '/HighScorefunktion programmieren/d' \ |
pascal@9985 | 27 $fs/usr/share/diggerjs/main.js |
pascal@9985 | 28 |
pascal@9985 | 29 # remove java stuff... |
pascal@9985 | 30 sed -i '/<applet/,/applet>/d' $fs/usr/share/diggerjs/*.html |
pascal@9985 | 31 rm -f $fs/usr/share/diggerjs/SndServer.class |
pascal@9985 | 32 rm -f $fs/usr/share/diggerjs/*/*.au |
pascal@9985 | 33 } |