wok-current view digger/receipt @ rev 23583

updated python-werkzeug (0.15.2 -> 1.0.1)
author Hans-G?nter Theisgen
date Tue Apr 07 14:03:09 2020 +0100 (2020-04-07)
parents
children d8c511e24c20
line source
1 # SliTaz package receipt.
3 PACKAGE="digger"
4 VERSION="0"
5 CATEGORY="games"
6 SHORT_DESC="Boulderdash in HTML5 and JavaScript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://www.lutzroeder.com/web/"
11 WGET_URL="https://codeload.github.com/lutzroeder/digger/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/digger \
17 $install/usr/share/doc
18 cp -a $src/README.md $install/usr/share/doc
19 cp -a $src/index.html $src/digger.js $fs/var/www/digger
20 dos2unix $fs/var/www/digger/*
21 cat > $fs/usr/share/applications/digger.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Encoding=UTF-8
25 Name=Digger
26 Exec=sh -c "url=file:///var/www/digger/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
27 Terminal=false
28 Categories=Application;Game;
29 EOT
30 }