wok-4.x view jstetris/receipt @ rev 12261
ocsreports: improve post_install
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Apr 15 13:59:51 2012 +0200 (2012-04-15) |
parents | 02597576cb1b |
children |
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 }