wok-current view boulderdash/receipt @ rev 20668

Up pjsip (2.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 10:25:55 2019 +0100 (2019-01-21)
parents
children a78610b2eb47
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="http://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 }