wok-current annotate 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 |
rev | line source |
---|---|
pascal@24119 | 1 # SliTaz package receipt. |
pascal@24119 | 2 |
pascal@24119 | 3 PACKAGE="javascript-boulderdash" |
pascal@24119 | 4 GITHASH="f2fca2eda636e2a072fcec6205028bf222e0710e" |
pascal@24119 | 5 VERSION="2011" |
pascal@24119 | 6 CATEGORY="games" |
pascal@24119 | 7 SHORT_DESC="An HTML5 implementation of the c64 classic Boulderdash game" |
pascal@24119 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@24119 | 9 LICENSE="MIT" |
pascal@24119 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@24119 | 11 WEB_SITE="https://github.com/jakesgordon/javascript-boulderdash" |
pascal@24119 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@24119 | 13 |
pascal@24119 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@24119 | 15 genpkg_rules() |
pascal@24119 | 16 { |
pascal@24119 | 17 mkdir -p $fs/var/www $fs/usr/share/applications |
pascal@24119 | 18 cp -a $src $fs/var/www/$PACKAGE |
pascal@24119 | 19 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT |
pascal@24119 | 20 [Desktop Entry] |
pascal@24119 | 21 Type=Application |
pascal@24119 | 22 Name=Boulder Dash |
pascal@24119 | 23 Exec=sh -c "url=http://127.0.0.1/$PACKAGE/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" |
pascal@24119 | 24 Icon=applications-games |
pascal@24119 | 25 Terminal=false |
pascal@24119 | 26 Categories=Game |
pascal@24119 | 27 EOT |
pascal@24119 | 28 } |