wok-next view jstetris/receipt @ rev 18627

syslinux/taziso/showfavinfo: show receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 24 14:51:11 2015 +0100 (2015-11-24)
parents d51b2411e55e
children c4e53a39395a
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 LICENSE="unknown"
10 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
11 WGET_URL="http://javascript.internet.com/games/$TARBALL"
12 HOST_ARCH="any"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
18 cp $src/* $fs/var/www/tetris
19 cp $stuff/index.html $fs/var/www/tetris
20 chown -R 80.80 $fs/var/www/tetris
21 cat > $fs/usr/share/applications/tetris.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Name=Tetris
25 Exec=browser file:///var/www/tetris/index.html
26 Icon=other
27 Terminal=false
28 Categories=Game;
29 Comment=Tetris game
30 EOT
31 }