# SliTaz package receipt. PACKAGE="diggerjs" VERSION="0.9.6" CATEGORY="games" SHORT_DESC="Javascript BoulerDash/Digger clone." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="digger.js" TARBALL="$SOURCE-$VERSION.zip" WEB_SITE="http://www.heise.de/software/download/digger.js/8148" WGET_URL="http://www.tikkel.de/download/$TARBALL" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/diggerjs cp -a $src/* $fs/usr/share/diggerjs cp -a stuff/* $fs # translate sed -i 's/Daten werden geladen .*)/Loading graphics.../' \ $fs/usr/share/diggerjs/*.* # remove TODO stuff... sed -i '/HighScorefunktion programmieren/d' \ $fs/usr/share/diggerjs/main.js # remove java stuff... sed -i '//d' $fs/usr/share/diggerjs/*.html rm -f $fs/usr/share/diggerjs/SndServer.class rm -f $fs/usr/share/diggerjs/*/*.au }