wok view minesweeper/receipt @ rev 24333
updated autoconf (2.69 -> 2.71)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 28 08:53:07 2022 +0100 (2022-01-28) |
parents | |
children | 34e801e0eb52 |
line source
1 # SliTaz package receipt.
3 PACKAGE="minesweeper"
4 VERSION="1.0"
5 GITTAG="9a2add13bacfa9849a1c2abf0898e4b461203001"
6 CATEGORY="games"
7 SHORT_DESC="Windows 95 classic game clone"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="unknown"
10 WEB_SITE="https://github.com/minesweeper/minesweeper-coffeescript"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
13 HOST_ARCH="any"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/var/www/minesweeper $fs/usr/share/applications
19 cp -a $src/[a-z]* $fs/var/www/minesweeper
20 rm -f $fs/var/www/minesweeper/readme.md
21 chown -R 80.80 $fs/var/www/minesweeper
22 cat > $fs/usr/share/applications/minesweeper.desktop <<EOT
23 [Desktop Entry]
24 Type=Application
25 Name=Minesweeper
26 Name[fr]=Démineur
27 Exec=sh -c "url=file:///var/www/minesweeper/index.html; tazweb --notoolbar \$url || browser \$url"
28 Terminal=false
29 Categories=Game;
30 Icon=applications-games
31 EOT
32 }