wok-next view jstetris/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
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 }