wok-current view jstetris/receipt @ rev 25376
updated tzdata (2019c -> 2022a)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 10:43:02 2022 +0100 (2022-07-30) |
parents | 599ac1affa58 |
children |
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="https://web.archive.org/web/20130323002417/http://javascriptsource.com/games/Tetris.html"
11 WGET_URL="https://games.slitaz.org/tetris/$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 }