wok-next view jstetris/receipt @ rev 20851

Add uglifyjs; fix build / up: python-cython, xpra, xscavenger, xsshfs, zbar
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 16:46:03 2018 +0300 (2018-06-24)
parents 10baa41a7882
children d5aab818505e
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"
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 }