wok-next annotate sudoku/receipt @ rev 15770
Up tazinst-gui (3.94)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Jan 07 21:52:00 2014 +0100 (2014-01-07) |
parents | 8fd412038da2 |
children | 91c1257103ef |
rev | line source |
---|---|
pascal@7055 | 1 # SliTaz package receipt. |
pascal@7055 | 2 |
pascal@7055 | 3 PACKAGE="sudoku" |
pascal@7055 | 4 VERSION="2.2" |
pascal@7055 | 5 CATEGORY="games" |
pascal@7055 | 6 SHORT_DESC="Sudoku game in javascript" |
pascal@7055 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
slaxemulator@9271 | 8 TARBALL="$PACKAGE-$VERSION.html" |
pascal@7055 | 9 WEB_SITE="http://10k.aneventapart.com/Entry/81" |
slaxemulator@9271 | 10 WGET_URL="http://10k.aneventapart.com/Uploads/81/index.html" |
pascal@7055 | 11 |
pascal@7055 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7055 | 13 genpkg_rules() |
pascal@7055 | 14 { |
pascal@7055 | 15 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications |
slaxemulator@9271 | 16 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html |
pascal@7055 | 17 chown -R 80.80 $fs/var/www/$PACKAGE |
pascal@7055 | 18 cat > $fs/usr/share/applications/sudoku.desktop <<EOT |
pascal@7055 | 19 [Desktop Entry] |
pascal@7055 | 20 Type=Application |
pascal@7055 | 21 Name=Sudoku |
lufeng369@7530 | 22 Name[zh_CN]=数独 |
pascal@12095 | 23 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url" |
pankso@15755 | 24 Icon=sudoku |
pascal@7055 | 25 Terminal=false |
pascal@7055 | 26 Categories=Game; |
pascal@7055 | 27 Comment=Sudoku game |
pascal@7055 | 28 EOT |
pascal@7055 | 29 } |
pascal@7055 | 30 |