wok-current annotate sudoku/receipt @ rev 20124
w3m: use imlib2
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Oct 15 01:56:59 2017 +0200 (2017-10-15) |
parents | b2d1814c51fc |
children | 90a87813caa6 |
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@16660 | 8 LICENSE="unknown" |
pascal@16241 | 9 TARBALL="$PACKAGE-$VERSION" |
slaxemulator@15806 | 10 WEB_SITE="http://10k.aneventapart.com/1/Entry/81" |
slaxemulator@15806 | 11 WGET_URL="http://10k.aneventapart.com/1/Uploads/81/index.html" |
pascal@16264 | 12 HOST_ARCH="any" |
psychomaniak@20124 | 13 GENERIC_PIXMAPS="no" |
psychomaniak@20124 | 14 COOKOPTS="!pixmaps" |
pascal@7055 | 15 |
pascal@7055 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7055 | 17 genpkg_rules() |
pascal@7055 | 18 { |
pascal@7055 | 19 mkdir -p $fs/var/www/$PACKAGE $fs/usr/share/applications |
slaxemulator@9271 | 20 cp $src/$TARBALL $fs/var/www/$PACKAGE/index.html |
pascal@7055 | 21 chown -R 80.80 $fs/var/www/$PACKAGE |
pascal@7055 | 22 cat > $fs/usr/share/applications/sudoku.desktop <<EOT |
pascal@7055 | 23 [Desktop Entry] |
pascal@7055 | 24 Type=Application |
pascal@7055 | 25 Name=Sudoku |
lufeng369@7530 | 26 Name[zh_CN]=数独 |
pascal@12095 | 27 Exec=sh -c "url=file:///var/www/sudoku/index.html ; tazweb --notoolbar \$url || browser \$url" |
pankso@15755 | 28 Icon=sudoku |
pascal@7055 | 29 Terminal=false |
pascal@7055 | 30 Categories=Game; |
pascal@7055 | 31 Comment=Sudoku game |
pascal@7055 | 32 EOT |
pascal@7055 | 33 } |
pascal@7055 | 34 |