wok-current view javascript-boulderdash/receipt @ rev 24430
updated collectd-apache and collectd-dev (5.10.0 -> 5.12.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 12 16:39:44 2022 +0100 (2022-02-12) |
parents | |
children | d8c511e24c20 |
line source
1 # SliTaz package receipt.
3 PACKAGE="javascript-boulderdash"
4 GITHASH="f2fca2eda636e2a072fcec6205028bf222e0710e"
5 VERSION="2011"
6 CATEGORY="games"
7 SHORT_DESC="An HTML5 implementation of the c64 classic Boulderdash game"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www $fs/usr/share/applications
18 cp -a $src $fs/var/www/$PACKAGE
19 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=Boulder Dash
23 Exec=sh -c "url=http://127.0.0.1/$PACKAGE/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
24 Icon=applications-games
25 Terminal=false
26 Categories=Game
27 EOT
28 }