wok view sudoku/receipt @ rev 16598

get-opera: add en, thanks az_ua
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 13:28:52 2014 +0000 (2014-05-07)
parents 372da2303ff1
children 10baa41a7882
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 TARBALL="$PACKAGE-$VERSION"
9 WEB_SITE="http://10k.aneventapart.com/1/Entry/81"
10 WGET_URL="http://10k.aneventapart.com/1/Uploads/81/index.html"
11 HOST_ARCH="any"
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 }