wok annotate jstetris/receipt @ rev 19177

Up sc-im (20160603)
author Paul Issott <paul@slitaz.org>
date Fri Jun 03 20:48:12 2016 +0100 (2016-06-03)
parents d51b2411e55e
children 599ac1affa58
rev   line source
pascal@7056 1 # SliTaz package receipt.
pascal@7056 2
pascal@7056 3 PACKAGE="jstetris"
pascal@7056 4 VERSION="1.1.0"
pascal@7056 5 CATEGORY="games"
pascal@7056 6 SHORT_DESC="Tetris game in javascript"
slaxemulator@10766 7 TARBALL="JsTetris.js"
pascal@7056 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16660 9 LICENSE="unknown"
pascal@7056 10 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
slaxemulator@10766 11 WGET_URL="http://javascript.internet.com/games/$TARBALL"
pascal@16264 12 HOST_ARCH="any"
pascal@7056 13
pascal@7056 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7056 15 genpkg_rules()
pascal@7056 16 {
pascal@7056 17 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
pascal@7056 18 cp $src/* $fs/var/www/tetris
slaxemulator@10766 19 cp $stuff/index.html $fs/var/www/tetris
pascal@7056 20 chown -R 80.80 $fs/var/www/tetris
pascal@7056 21 cat > $fs/usr/share/applications/tetris.desktop <<EOT
pascal@7056 22 [Desktop Entry]
pascal@7056 23 Type=Application
pascal@7056 24 Name=Tetris
slaxemulator@9600 25 Exec=browser file:///var/www/tetris/index.html
samuel_trassare@12029 26 Icon=other
pascal@7056 27 Terminal=false
pascal@7056 28 Categories=Game;
pascal@7056 29 Comment=Tetris game
pascal@7056 30 EOT
pascal@7056 31 }
pascal@7056 32