wok-6.x diff digger/receipt @ rev 22452

get-palemoon: typo (do not force decompression type)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 26 11:49:55 2019 +0100 (2019-12-26)
parents
children d8c511e24c20
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/digger/receipt	Thu Dec 26 11:49:55 2019 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="digger"
     1.7 +VERSION="0"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Boulderdash in HTML5 and JavaScript"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="unknown"
    1.12 +TARBALL="$PACKAGE-$VERSION.zip"
    1.13 +WEB_SITE="https://www.lutzroeder.com/web/"
    1.14 +WGET_URL="https://codeload.github.com/lutzroeder/digger/zip/master"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/share/applications $fs/var/www/digger \
    1.20 +		 $install/usr/share/doc
    1.21 +	cp -a $src/README.md $install/usr/share/doc
    1.22 +	cp -a $src/index.html $src/digger.js $fs/var/www/digger
    1.23 +	dos2unix $fs/var/www/digger/*
    1.24 +	cat > $fs/usr/share/applications/digger.desktop <<EOT
    1.25 +[Desktop Entry]
    1.26 +Type=Application
    1.27 +Encoding=UTF-8
    1.28 +Name=Digger
    1.29 +Exec=sh -c "url=file:///var/www/digger/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
    1.30 +Terminal=false
    1.31 +Categories=Application;Game;
    1.32 +EOT
    1.33 +}