wok view boulderdash/receipt @ rev 20910

updated fakeroot (1.15.1 -> 1.23)
author Hans-G?nter Theisgen
date Thu Feb 28 14:29:52 2019 +0100 (2019-02-28)
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 }