wok-current view javascript-boulderdash/receipt @ rev 24224

updated perl-io-socket-inet6 (2.72 -> 2.73)
author Hans-G?nter Theisgen
date Fri Dec 31 17:33:39 2021 +0100 (2021-12-31)
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 }