wok-current annotate minesweeper/receipt @ rev 25718

Add miss openssl-3.0.patch for ruby
author Stanislas Leduc <shann@slitaz.org>
date Fri Jun 14 18:20:53 2024 +0000 (4 months ago)
parents 34e801e0eb52
children
rev   line source
pascal@23926 1 # SliTaz package receipt.
pascal@23926 2
pascal@23926 3 PACKAGE="minesweeper"
pascal@23926 4 VERSION="1.0"
pascal@23926 5 GITTAG="9a2add13bacfa9849a1c2abf0898e4b461203001"
pascal@23926 6 CATEGORY="games"
pascal@23926 7 SHORT_DESC="Windows 95 classic game clone"
pascal@23926 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@23926 9 LICENSE="unknown"
pascal@23926 10 WEB_SITE="https://github.com/minesweeper/minesweeper-coffeescript"
pascal@23926 11 TARBALL="$PACKAGE-$VERSION.zip"
pascal@23926 12 WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
pascal@23926 13 HOST_ARCH="any"
pascal@23926 14
pascal@24497 15 # What is the latest version available today?
pascal@24497 16 current_version()
pascal@24497 17 {
pascal@24497 18 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 19 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 20 }
pascal@24497 21
pascal@23926 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23926 23 genpkg_rules()
pascal@23926 24 {
pascal@23926 25 mkdir -p $fs/var/www/minesweeper $fs/usr/share/applications
pascal@23926 26 cp -a $src/[a-z]* $fs/var/www/minesweeper
pascal@23926 27 rm -f $fs/var/www/minesweeper/readme.md
pascal@23926 28 chown -R 80.80 $fs/var/www/minesweeper
pascal@23926 29 cat > $fs/usr/share/applications/minesweeper.desktop <<EOT
pascal@23926 30 [Desktop Entry]
pascal@23926 31 Type=Application
pascal@23926 32 Name=Minesweeper
pascal@23926 33 Name[fr]=Démineur
pascal@23926 34 Exec=sh -c "url=file:///var/www/minesweeper/index.html; tazweb --notoolbar \$url || browser \$url"
pascal@23926 35 Terminal=false
pascal@23926 36 Categories=Game;
pascal@23926 37 Icon=applications-games
pascal@23926 38 EOT
pascal@23926 39 }