wok-6.x annotate digger/receipt @ rev 22810
Add squidanalyser
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 31 12:24:59 2020 +0100 (2020-01-31) |
parents | |
children | d8c511e24c20 |
rev | line source |
---|---|
pascal@20514 | 1 # SliTaz package receipt. |
pascal@20514 | 2 |
pascal@20514 | 3 PACKAGE="digger" |
pascal@20514 | 4 VERSION="0" |
pascal@20514 | 5 CATEGORY="games" |
pascal@20514 | 6 SHORT_DESC="Boulderdash in HTML5 and JavaScript" |
pascal@20514 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20514 | 8 LICENSE="unknown" |
pascal@20514 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20514 | 10 WEB_SITE="https://www.lutzroeder.com/web/" |
pascal@20514 | 11 WGET_URL="https://codeload.github.com/lutzroeder/digger/zip/master" |
pascal@20514 | 12 |
pascal@20514 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20514 | 14 genpkg_rules() |
pascal@20514 | 15 { |
pascal@20514 | 16 mkdir -p $fs/usr/share/applications $fs/var/www/digger \ |
pascal@20514 | 17 $install/usr/share/doc |
pascal@20514 | 18 cp -a $src/README.md $install/usr/share/doc |
pascal@20514 | 19 cp -a $src/index.html $src/digger.js $fs/var/www/digger |
pascal@20514 | 20 dos2unix $fs/var/www/digger/* |
pascal@20514 | 21 cat > $fs/usr/share/applications/digger.desktop <<EOT |
pascal@20514 | 22 [Desktop Entry] |
pascal@20514 | 23 Type=Application |
pascal@20514 | 24 Encoding=UTF-8 |
pascal@20514 | 25 Name=Digger |
pascal@20514 | 26 Exec=sh -c "url=file:///var/www/digger/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" |
pascal@20514 | 27 Terminal=false |
pascal@20514 | 28 Categories=Application;Game; |
pascal@20514 | 29 EOT |
pascal@20514 | 30 } |