wok view sudoku/receipt @ rev 16933

xorg-base-fonts: addinfo about nonexistent required font. Xterm-menu now works with fonts.dir. xvkbd-koi8 only on livecd locale
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 20 15:31:48 2014 +0200 (2014-07-20)
parents d51b2411e55e
children 50d80732aeb6
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"
12 HOST_ARCH="any"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
18 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
19 chown -R 80.80 $fs/var/www/$PACKAGE
20 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
21 [Desktop Entry]
22 Type=Application
23 Name=Sudoku
24 Name[zh_CN]=数独
25 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
26 Icon=sudoku
27 Terminal=false
28 Categories=Game;
29 Comment=Sudoku game
30 EOT
31 }