wok view GreenMahjong/receipt @ rev 24035
updated sane-backends and sane-backends-dev (1.0.22 -> 1.0.24)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 11 15:30:14 2021 +0100 (2021-04-11) |
parents | |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="GreenMahjong"
4 VERSION="2.2.0"
5 CATEGORY="games"
6 SHORT_DESC="A simple sliding blocks puzzle game using JavaScript and HTML5"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/danbeck/green-mahjong"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.zip"
12 HOST_ARCH="any"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www/GreenMahjong $fs/usr/share/applications
18 cp -a $src/GreenMahjong/www/* $fs/var/www/GreenMahjong
19 chown -R 80.80 $fs/var/www/GreenMahjong
20 cat > $fs/usr/share/applications/GreenMahjong.desktop <<EOT
21 [Desktop Entry]
22 Type=Application
23 Name=Mahjong
24 Exec=sh -c "url=file:///var/www/GreenMahjong/index.html; tazweb --notoolbar \$url || browser \$url"
25 Terminal=false
26 Categories=Game;
27 Icon=applications-games
28 EOT
29 }