wok-next diff loderunner/receipt @ rev 21087

Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 28 05:11:49 2018 +0200 (2018-12-28)
parents c4e53a39395a
children
line diff
     1.1 --- a/loderunner/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/loderunner/receipt	Fri Dec 28 05:11:49 2018 +0200
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="loderunner"
     1.8  VERSION="2.01c.3"
     1.9  CATEGORY="games"
    1.10 -SHORT_DESC="Lode runner game clone in html5."
    1.11 +SHORT_DESC="Lode runner game clone in HTML5"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="unknown"
    1.14 +WEB_SITE="http://loderunnerwebgame.com/LodeRunner/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://loderunnerwebgame.com/LodeRunner/"
    1.18  WGET_URL="https://github.com/SimonHung/LodeRunner_TotalRecall/archive/v$VERSION.tar.gz"
    1.19 -DEPENDS="browser-html5"
    1.20  
    1.21 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.22 -genpkg_rules()
    1.23 -{
    1.24 -	mkdir -p $fs/var/www $fs/usr/share/applications
    1.25 -	cp -a $src $fs/var/www/loderunner
    1.26 -	ln -s lodeRunner.html $fs/var/www/loderunner/index.html
    1.27 -	rm -rf $fs/var/www/loderunner/tools $fs/var/www/loderunner/README.md
    1.28 -	cat > $fs/usr/share/applications/loderunner.desktop <<EOT
    1.29 -[Desktop Entry]
    1.30 -Type=Application
    1.31 -Name=Lode Runner
    1.32 -Comment=Plateform game
    1.33 -Exec=browser-html5 file:///var/www/loderunner/lodeRunner.html
    1.34 -Icon=/var/www/loderunner/lodeRunner.ico
    1.35 -Terminal=false
    1.36 -Categories=Game
    1.37 -EOT
    1.38 +compile_rules() {
    1.39 +	mkdir -p \
    1.40 +		$install/var/www \
    1.41 +		$install/usr/share/applications
    1.42 +	cp -a $src $install/var/www/loderunner/
    1.43 +	ln -s lodeRunner.html $install/var/www/loderunner/index.html
    1.44 +	rm -rf \
    1.45 +		$install/var/www/loderunner/tools \
    1.46 +		$install/var/www/loderunner/README.md
    1.47  }
    1.48 +
    1.49 +genpkg_rules() {
    1.50 +	copy @std
    1.51 +	DEPENDS="browser-html5"
    1.52 +}