wok-6.x view sudoku/receipt @ rev 24088

linux-aufs, linux-cloop: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 14:26:24 2021 +0000 (2021-07-11)
parents c32de9979605
children d8a3a6689896
line source
1 # SliTaz package receipt.
3 PACKAGE="sudoku"
4 VERSION="2.3"
5 CATEGORY="games"
6 SHORT_DESC="Sudoku game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="$PACKAGE-$VERSION"
10 WEB_SITE="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Entry/81"
11 WGET_URL="https://web.archive.org/web/20140124072600/http://10k.aneventapart.com/1/Uploads/81/index.html"
12 HOST_ARCH="any"
13 GENERIC_PIXMAPS="no"
14 COOKOPTS="!pixmaps"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
20 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
21 chown -R 80.80 $fs/var/www/$PACKAGE
22 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
23 [Desktop Entry]
24 Type=Application
25 Name=Sudoku
26 Name[zh_CN]=数独
27 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
28 Icon=sudoku
29 Terminal=false
30 Categories=Game;
31 Comment=Sudoku game
32 EOT
33 }