wok annotate jstetris/receipt @ rev 11886
fluxbox: Improve package integration
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 14:36:10 2012 +0100 (2012-02-28) |
parents | c225c4ba8698 |
children | ff54c8e52d6b |
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 |
pascal@7056 | 24 Icon=other.png |
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 |