wok rev 23923
Add GreenMahjong
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 22 17:48:54 2020 +0000 (2020-08-22) |
parents | 430465ced547 |
children | 6df1e562bb3c |
files | GreenMahjong/receipt webgames/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/GreenMahjong/receipt Sat Aug 22 17:48:54 2020 +0000 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="GreenMahjong" 1.7 +VERSION="2.2.0" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="A simple sliding blocks puzzle game using JavaScript and HTML5" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="https://github.com/danbeck/green-mahjong" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.zip" 1.15 +HOST_ARCH="any" 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/GreenMahjong $fs/usr/share/applications 1.21 + cp -a $src/GreenMahjong/www/* $fs/var/www/GreenMahjong 1.22 + chown -R 80.80 $fs/var/www/GreenMahjong 1.23 + cat > $fs/usr/share/applications/GreenMahjong.desktop <<EOT 1.24 +[Desktop Entry] 1.25 +Type=Application 1.26 +Name=Mahjong 1.27 +Exec=sh -c "url=file:///var/www/GreenMahjong/index.html; tazweb --notoolbar \$url || browser \$url" 1.28 +Terminal=false 1.29 +Categories=Game; 1.30 +Icon=applications-games 1.31 +EOT 1.32 +}
2.1 --- a/webgames/receipt Sat Aug 22 17:01:17 2020 +0000 2.2 +++ b/webgames/receipt Sat Aug 22 17:48:54 2020 +0000 2.3 @@ -60,5 +60,7 @@ 2.4 SpaceInvaders Space\ invaders\ clone applications-games 2.5 http://games.slitaz.org/javascript-racer/v4.final.html\ 2.6 JSracer Tux\ racer\ clone applications-games 2.7 +http://games.slitaz.org/GreenMahjong/index.html\ 2.8 + Mahjong Mahjong applications-games 2.9 EOT 2.10 }