wok-next view loderunner/receipt @ rev 19507
Update SliTaz projects: slitaz-base-files(316), slitaz-tools(1006), tazinst(84), tazlito(443), tazpanel(609), tazpkg(928), tazusb(193), tazweb(173).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 20 00:33:44 2016 +0200 (2016-11-20) |
parents | ba3ef4866a83 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt.
3 PACKAGE="loderunner"
4 VERSION="2.01c.3"
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 DEPENDS="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 ln -s lodeRunner.html $fs/var/www/loderunner/index.html
21 rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md
22 cat > $fs/usr/share/applications/loderunner.desktop <<EOT
23 [Desktop Entry]
24 Type=Application
25 Name=Lode Runner
26 Comment=Plateform game
27 Exec=browser-html5 file:///var/www/loderunner/lodeRunner.html
28 Icon=/var/www/loderunner/lodeRunner.ico
29 Terminal=false
30 Categories=Game
31 EOT
32 }