wok diff checker_online/receipt @ rev 24173
updated outguess again (0.2 -> 0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 09:24:42 2021 +0100 (2021-12-29) |
parents | |
children | d8c511e24c20 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/checker_online/receipt Wed Dec 29 09:24:42 2021 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="checker_online" 1.7 +GITHASH="191c29cfd72227d64f6a8db9d295fd71523bf0d7" 1.8 +VERSION="2016" 1.9 +CATEGORY="games" 1.10 +SHORT_DESC="online chinese checker AI" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="unknown" 1.13 +TARBALL="$PACKAGE-$VERSION.zip" 1.14 +WEB_SITE="https://github.com/HsuBokai/checker_online" 1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + grep '"http' [is]* | sed 's|.*"http|wget http|;s|".*||' | sh 1.21 + sed -i 's|http.*[0-9]/||' [is]* 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/var/www $fs/usr/share/applications 1.28 + cp -a $src $fs/var/www/$PACKAGE 1.29 + cat > $fs/usr/share/applications/checker_online.desktop <<EOT 1.30 +[Desktop Entry] 1.31 +Type=Application 1.32 +Name=Chinese Checkers 1.33 +Name[fr]=Dames chinoises 1.34 +Exec=sh -c "url=file:///var/www/$PACKAGE/index.html ; tazweb --notoolbar \\\$url || browser \\\$url" 1.35 +Icon=applications-games 1.36 +Terminal=false 1.37 +Categories=Game 1.38 +EOT 1.39 +}