wok-next view loderunner/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 6e41896cc317 |
children | d6378d455338 |
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"
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=browser-html5 file:///var/www/loderunner/lodeRunner.html
27 Icon=/var/www/loderunner/lodeRunner.ico
28 Terminal=false
29 Categories=Game
30 EOT
31 }