wok-current rev 24118
Add checker_online
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 04 14:07:53 2021 +0000 (2021-10-04) |
parents | 282f7eb39625 |
children | e9e5645c2329 |
files | checker_online/receipt webgames/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/checker_online/receipt Mon Oct 04 14:07:53 2021 +0000 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 +}
2.1 --- a/webgames/receipt Sun Oct 03 18:33:51 2021 +0000 2.2 +++ b/webgames/receipt Mon Oct 04 14:07:53 2021 +0000 2.3 @@ -38,8 +38,8 @@ 2.4 done <<EOT 2.5 http://games.slitaz.org/sokojs/main.htm Sokoban\ 2.6 Plateform\ game|[fr]Jeu\ de\ plateforme 2.7 -http://chinese-checkers.net/ Chinese\ Checkers|[fr]Dames\ chinoises\ 2.8 - Chinese\ Checkers|[fr]Dames\ chinoises applications-internet 2.9 +http://games.slitaz.org/checker_online/index.html Chinese\ Checkers|[fr]Dames\ chinoises\ 2.10 + Chinese\ Checkers|[fr]Dames\ chinoises 2.11 http://games.slitaz.org/2048/index.html 2048 2.12 http://games.slitaz.org/sudoku/index.html Sudoku Puzzle 2.13 http://games.slitaz.org/loderunner/lodeRunner.html\