wok-current view 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
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 }