wok-next annotate jstetris/receipt @ rev 20851

Add uglifyjs; fix build / up: python-cython, xpra, xscavenger, xsshfs, zbar
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 16:46:03 2018 +0300 (2018-06-24)
parents 10baa41a7882
children d5aab818505e
rev   line source
pascal@7056 1 # SliTaz package receipt.
pascal@7056 2
pascal@7056 3 PACKAGE="jstetris"
pascal@7056 4 VERSION="1.1.0"
pascal@7056 5 CATEGORY="games"
pascal@7056 6 SHORT_DESC="Tetris game in javascript"
slaxemulator@10766 7 TARBALL="JsTetris.js"
pascal@7056 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16660 9 LICENSE="unknown"
pascal@7056 10 WEB_SITE="http://javascript.internet.com/games/Tetris.html"
slaxemulator@10766 11 WGET_URL="http://javascript.internet.com/games/$TARBALL"
pascal@7056 12
pascal@7056 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7056 14 genpkg_rules()
pascal@7056 15 {
pascal@7056 16 mkdir -p $fs/var/www/tetris $fs/usr/share/applications
pascal@7056 17 cp $src/* $fs/var/www/tetris
slaxemulator@10766 18 cp $stuff/index.html $fs/var/www/tetris
pascal@7056 19 chown -R 80.80 $fs/var/www/tetris
pascal@7056 20 cat > $fs/usr/share/applications/tetris.desktop <<EOT
pascal@7056 21 [Desktop Entry]
pascal@7056 22 Type=Application
pascal@7056 23 Name=Tetris
slaxemulator@9600 24 Exec=browser file:///var/www/tetris/index.html
samuel_trassare@12029 25 Icon=other
pascal@7056 26 Terminal=false
pascal@7056 27 Categories=Game;
pascal@7056 28 Comment=Tetris game
pascal@7056 29 EOT
pascal@7056 30 }
pascal@7056 31