wok-next view jstetris/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
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 }