wok-next view jstetris/receipt @ rev 20357
id3lib: v2 & patch; libtool: empty $DEPENDS don't work for the moment; lxqt-panel: add pulseaudio support, separate lxqt-panel-sensors (it needs lm-sensors, bash and many more); add serf for recognizing http protocol in SVN; subversion: up with serf; slim: remake using sets.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 21 12:56:18 2017 +0200 (2017-11-21) |
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 }