wok-6.x view jstetris/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents d51b2411e55e
children 599ac1affa58
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 }