wok-current view boulderdash/receipt @ rev 22886

web-applications: update png files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 22 16:58:29 2020 +0100 (2020-02-22)
parents 724cde682e25
children d8c511e24c20
line source
1 # SliTaz package receipt.
3 PACKAGE="boulderdash"
4 VERSION="0"
5 CATEGORY="games"
6 SHORT_DESC="C64 classic Boulderdash in HTML5 and JavaScript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://codeincomplete.com/posts/2011/10/25/javascript_boulderdash/"
11 WGET_URL="https://codeload.github.com/jakesgordon/javascript-boulderdash/zip/master"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/applications $fs/var/www/boulderdash \
17 $install/usr/share/doc
18 cp -a $src/* $fs/var/www/boulderdash
19 mv $fs/var/www/boulderdash/README.md $install/usr/share/doc
20 cat > $fs/usr/share/applications/boulderdash.desktop <<EOT
21 [Desktop Entry]
22 Type=Application
23 Encoding=UTF-8
24 Name=Boulderdash
25 Exec=sh -c "url=http://127.0.0.1/boulderdash/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
26 Terminal=false
27 Categories=Application;Game;
28 EOT
29 }