wok-current view jstetris/receipt @ rev 14590

drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon May 27 00:27:59 2013 +0000 (2013-05-27)
parents 02597576cb1b
children d51b2411e55e
line source
1 # SliTaz package receipt.
3 PACKAGE="jstetris"
4 VERSION="1.1.0"
5 CATEGORY="games"
6 SHORT_DESC="Tetris game in javascript"
7 TARBALL="JsTetris.js"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
10 WGET_URL="http://javascript.internet.com/games/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
16 cp $src/* $fs/var/www/tetris
17 cp $stuff/index.html $fs/var/www/tetris
18 chown -R 80.80 $fs/var/www/tetris
19 cat > $fs/usr/share/applications/tetris.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=Tetris
23 Exec=browser file:///var/www/tetris/index.html
24 Icon=other
25 Terminal=false
26 Categories=Game;
27 Comment=Tetris game
28 EOT
29 }