wok annotate sudoku/receipt @ rev 16430

svkbd: fix version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 18 10:26:47 2014 +0000 (2014-04-18)
parents 372da2303ff1
children 10baa41a7882
rev   line source
pascal@7055 1 # SliTaz package receipt.
pascal@7055 2
pascal@7055 3 PACKAGE="sudoku"
slaxemulator@15806 4 VERSION="2.3"
pascal@7055 5 CATEGORY="games"
pascal@7055 6 SHORT_DESC="Sudoku game in javascript"
pascal@7055 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16241 8 TARBALL="$PACKAGE-$VERSION"
slaxemulator@15806 9 WEB_SITE="http://10k.aneventapart.com/1/Entry/81"
slaxemulator@15806 10 WGET_URL="http://10k.aneventapart.com/1/Uploads/81/index.html"
pascal@16264 11 HOST_ARCH="any"
pascal@7055 12
pascal@7055 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7055 14 genpkg_rules()
pascal@7055 15 {
pascal@7055 16 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications
slaxemulator@9271 17 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html
pascal@7055 18 chown -R 80.80 $fs/var/www/$PACKAGE
pascal@7055 19 cat > $fs/usr/share/applications/sudoku.desktop <<EOT
pascal@7055 20 [Desktop Entry]
pascal@7055 21 Type=Application
pascal@7055 22 Name=Sudoku
lufeng369@7530 23 Name[zh_CN]=数独
pascal@12095 24 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url"
pankso@15755 25 Icon=sudoku
pascal@7055 26 Terminal=false
pascal@7055 27 Categories=Game;
pascal@7055 28 Comment=Sudoku game
pascal@7055 29 EOT
pascal@7055 30 }
pascal@7055 31