wok-6.x view loderunner/receipt @ rev 23760

librsvg: try fix libtool
author Hans-G?nter Theisgen
date Mon May 04 07:56:50 2020 +0100 (2020-05-04)
parents 87ff1f543737
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="loderunner"
4 VERSION="2.21g.4"
5 CATEGORY="games"
6 SHORT_DESC="Lode runner game clone in html5."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://loderunnerwebgame.com/LodeRunner/"
11 WGET_URL="https://github.com/SimonHung/LodeRunner_TotalRecall/archive/v$VERSION.tar.gz"
12 SUGGESTED="browser-html5"
13 HOST_ARCH="any"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/var/www $fs/usr/share/applications
19 cp -a $src $fs/var/www/loderunner
20 sed 's|\(repeatAction = \)0|\11|;s|ff (NES|n (APPLE-II|' \
21 -i $fs/var/www/loderunner/lodeRunner.storage.js
22 ln -s lodeRunner.html $fs/var/www/loderunner/index.html
23 rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md
24 cat > $fs/usr/share/applications/loderunner.desktop <<EOT
25 [Desktop Entry]
26 Type=Application
27 Name=Lode Runner
28 Comment=Plateform game
29 Exec=sh -c "url=http://127.0.0.1/loderunner/lodeRunner.html ; tazweb --notoolbar \\\$url || browser \\\$url"
30 Icon=/var/www/loderunner/lodeRunner.ico
31 Terminal=false
32 Categories=Game
33 EOT
34 }