wok-next view sudoku/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 10baa41a7882 |
children | e7a485521d6a |
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="http://10k.aneventapart.com/1/Entry/81"
11 WGET_URL="http://10k.aneventapart.com/1/Uploads/81/index.html"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
17 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
18 chown -R 80.80 $fs/var/www/$PACKAGE
19 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=Sudoku
23 Name[zh_CN]=数独
24 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
25 Icon=sudoku
26 Terminal=false
27 Categories=Game;
28 Comment=Sudoku game
29 EOT
30 }