wok-6.x view jstetris/receipt @ rev 16401
pxe-kexec: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 10:10:37 2014 +0000 (2014-04-16) |
parents | ff54c8e52d6b |
children | 10baa41a7882 |
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"
11 HOST_ARCH="any"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
17 cp $src/* $fs/var/www/tetris
18 cp $stuff/index.html $fs/var/www/tetris
19 chown -R 80.80 $fs/var/www/tetris
20 cat > $fs/usr/share/applications/tetris.desktop <<EOT
21 [Desktop Entry]
22 Type=Application
23 Name=Tetris
24 Exec=browser file:///var/www/tetris/index.html
25 Icon=other
26 Terminal=false
27 Categories=Game;
28 Comment=Tetris game
29 EOT
30 }