wok-next annotate loderunner/receipt @ rev 18642
Up tazpkg(878)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 30 02:28:21 2015 +0200 (2015-11-30) |
parents | |
children | d7f8436a2f34 |
rev | line source |
---|---|
pascal@18625 | 1 # SliTaz package receipt. |
pascal@18625 | 2 |
pascal@18625 | 3 PACKAGE="loderunner" |
pascal@18625 | 4 VERSION="2.01c.3" |
pascal@18625 | 5 CATEGORY="games" |
pascal@18625 | 6 SHORT_DESC="Lode runner game clone in html5." |
pascal@18625 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18625 | 8 LICENSE="unknown" |
pascal@18625 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18625 | 10 WEB_SITE="http://loderunnerwebgame.com/LodeRunner/" |
pascal@18625 | 11 WGET_URL="https://github.com/SimonHung/LodeRunner_TotalRecall/archive/v$VERSION.tar.gz" |
pascal@18625 | 12 DEPENDS="firefox-official" |
pascal@18625 | 13 |
pascal@18625 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18625 | 15 genpkg_rules() |
pascal@18625 | 16 { |
pascal@18625 | 17 mkdir -p $fs/var/www $fs/usr/share/applications |
pascal@18625 | 18 cp -a $src $fs/var/www/loderunner |
pascal@18625 | 19 ln -s lodeRunner.html $fs/var/www/loderunner/index.html |
pascal@18625 | 20 rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md |
pascal@18625 | 21 cat > $fs/usr/share/applications/loderunner.desktop <<EOT |
pascal@18625 | 22 [Desktop Entry] |
pascal@18625 | 23 Type=Application |
pascal@18625 | 24 Name=Lode Runner |
pascal@18625 | 25 Comment=Plateform game |
pascal@18625 | 26 Exec=firefox-official file:///var/www/loderunner/lodeRunner.html |
pascal@18625 | 27 Icon=/var/www/loderunner/lodeRunner.ico |
pascal@18625 | 28 Terminal=false |
pascal@18625 | 29 Categories=Game |
pascal@18625 | 30 EOT |
pascal@18625 | 31 } |