wok-current view loderunner/receipt @ rev 18910

Add gnubg (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 22 21:54:46 2016 +0100 (2016-02-22)
parents
children d7f8436a2f34
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="firefox-official"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www $fs/usr/share/applications
18 cp -a $src $fs/var/www/loderunner
19 ln -s lodeRunner.html $fs/var/www/loderunner/index.html
20 rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md
21 cat > $fs/usr/share/applications/loderunner.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Name=Lode Runner
25 Comment=Plateform game
26 Exec=firefox-official file:///var/www/loderunner/lodeRunner.html
27 Icon=/var/www/loderunner/lodeRunner.ico
28 Terminal=false
29 Categories=Game
30 EOT
31 }