wok-next diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/loderunner/receipt Mon Nov 30 02:28:21 2015 +0200 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="loderunner" 1.7 +VERSION="2.01c.3" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Lode runner game clone in html5." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="unknown" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://loderunnerwebgame.com/LodeRunner/" 1.14 +WGET_URL="https://github.com/SimonHung/LodeRunner_TotalRecall/archive/v$VERSION.tar.gz" 1.15 +DEPENDS="firefox-official" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + mkdir -p $fs/var/www $fs/usr/share/applications 1.21 + cp -a $src $fs/var/www/loderunner 1.22 + ln -s lodeRunner.html $fs/var/www/loderunner/index.html 1.23 + rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md 1.24 + cat > $fs/usr/share/applications/loderunner.desktop <<EOT 1.25 +[Desktop Entry] 1.26 +Type=Application 1.27 +Name=Lode Runner 1.28 +Comment=Plateform game 1.29 +Exec=firefox-official file:///var/www/loderunner/lodeRunner.html 1.30 +Icon=/var/www/loderunner/lodeRunner.ico 1.31 +Terminal=false 1.32 +Categories=Game 1.33 +EOT 1.34 +}