wok-current annotate loderunner/receipt @ rev 20418

Up rsync (3.1.3), perl-file-rsync (0.74), lsyncd (2.2.3), kexec-tools (2.0.17), chkrootkit (0.52), brotli (1.0.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 05 21:16:06 2018 +0200 (2018-08-05)
parents 625d9ab71532
children 87ff1f543737
rev   line source
pascal@18625 1 # SliTaz package receipt.
pascal@18625 2
pascal@18625 3 PACKAGE="loderunner"
pascal@20418 4 VERSION="2.21g.4"
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@19091 12 DEPENDS="browser-html5"
pascal@19096 13 HOST_ARCH="any"
pascal@18625 14
pascal@18625 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18625 16 genpkg_rules()
pascal@18625 17 {
pascal@18625 18 mkdir -p $fs/var/www $fs/usr/share/applications
pascal@18625 19 cp -a $src $fs/var/www/loderunner
pascal@18625 20 ln -s lodeRunner.html $fs/var/www/loderunner/index.html
pascal@18625 21 rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md
pascal@18625 22 cat > $fs/usr/share/applications/loderunner.desktop <<EOT
pascal@18625 23 [Desktop Entry]
pascal@18625 24 Type=Application
pascal@18625 25 Name=Lode Runner
pascal@18625 26 Comment=Plateform game
pascal@19092 27 Exec=browser-html5 file:///var/www/loderunner/lodeRunner.html
pascal@18625 28 Icon=/var/www/loderunner/lodeRunner.ico
pascal@18625 29 Terminal=false
pascal@18625 30 Categories=Game
pascal@18625 31 EOT
pascal@18625 32 }