wok-current annotate jstetris/receipt @ rev 13099

Up: dbus to 1.6.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 18:19:02 2012 +0000 (2012-06-26)
parents 02597576cb1b
children d51b2411e55e
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@7056 9 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
slaxemulator@10766 10 WGET_URL="http://javascript.internet.com/games/$TARBALL"
pascal@7056 11
pascal@7056 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7056 13 genpkg_rules()
pascal@7056 14 {
pascal@7056 15 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
pascal@7056 16 cp $src/* $fs/var/www/tetris
slaxemulator@10766 17 cp $stuff/index.html $fs/var/www/tetris
pascal@7056 18 chown -R 80.80 $fs/var/www/tetris
pascal@7056 19 cat > $fs/usr/share/applications/tetris.desktop <<EOT
pascal@7056 20 [Desktop Entry]
pascal@7056 21 Type=Application
pascal@7056 22 Name=Tetris
slaxemulator@9600 23 Exec=browser file:///var/www/tetris/index.html
samuel_trassare@12029 24 Icon=other
pascal@7056 25 Terminal=false
pascal@7056 26 Categories=Game;
pascal@7056 27 Comment=Tetris game
pascal@7056 28 EOT
pascal@7056 29 }
pascal@7056 30