wok rev 23926

Add minesweeper & pacman
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 23 15:10:17 2020 +0000 (2020-08-23)
parents 60d6ce5af735
children f1f49f4e12a0
files cookutils/receipt minesweeper/receipt pacman/receipt plop/receipt slitaz-doc/receipt webgames/receipt
line diff
     1.1 --- a/cookutils/receipt	Sun Aug 23 10:18:23 2020 +0000
     1.2 +++ b/cookutils/receipt	Sun Aug 23 15:10:17 2020 +0000
     1.3 @@ -36,6 +36,7 @@
     1.4  {
     1.5  	mkdir -p $fs
     1.6  	cp -a $install/* $fs
     1.7 +	cp $stuff/cookutils-doc.desktop $fs/usr/share/applications
     1.8  	cp $stuff/check-wok $fs/usr/bin
     1.9  	chmod 755 $fs/usr/bin/check-wok
    1.10  	#Symlink cooker to busybox httpd server root
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/minesweeper/receipt	Sun Aug 23 15:10:17 2020 +0000
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="minesweeper"
     2.7 +VERSION="1.0"
     2.8 +GITTAG="9a2add13bacfa9849a1c2abf0898e4b461203001"
     2.9 +CATEGORY="games"
    2.10 +SHORT_DESC="Windows 95 classic game clone"
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="unknown"
    2.13 +WEB_SITE="https://github.com/minesweeper/minesweeper-coffeescript"
    2.14 +TARBALL="$PACKAGE-$VERSION.zip"
    2.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    2.16 +HOST_ARCH="any"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +	mkdir -p $fs/var/www/minesweeper $fs/usr/share/applications
    2.22 +	cp -a $src/[a-z]* $fs/var/www/minesweeper
    2.23 +	rm -f $fs/var/www/minesweeper/readme.md
    2.24 +	chown -R 80.80 $fs/var/www/minesweeper
    2.25 +	cat > $fs/usr/share/applications/minesweeper.desktop <<EOT
    2.26 +[Desktop Entry]
    2.27 +Type=Application
    2.28 +Name=Minesweeper
    2.29 +Name[fr]=Démineur
    2.30 +Exec=sh -c "url=file:///var/www/minesweeper/index.html; tazweb --notoolbar \$url || browser \$url"
    2.31 +Terminal=false
    2.32 +Categories=Game;
    2.33 +Icon=applications-games
    2.34 +EOT
    2.35 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pacman/receipt	Sun Aug 23 15:10:17 2020 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pacman"
     3.7 +VERSION="1.0"
     3.8 +GITTAG="e2ea1dfc9716bd2a60cc814981fff8d3d67e4d5f"
     3.9 +CATEGORY="games"
    3.10 +SHORT_DESC="A pacman game clone"
    3.11 +MAINTAINER="pascal.bellard@slitaz.org"
    3.12 +LICENSE="unknown"
    3.13 +WEB_SITE="https://github.com/ziw/Javascript-Pacman"
    3.14 +TARBALL="$PACKAGE-$VERSION.zip"
    3.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    3.16 +HOST_ARCH="any"
    3.17 +
    3.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 +genpkg_rules()
    3.20 +{
    3.21 +	mkdir -p $fs/var/www/pacman $fs/usr/share/applications
    3.22 +	cp -a $src/* $fs/var/www/pacman
    3.23 +	chown -R 80.80 $fs/var/www/pacman
    3.24 +	cat > $fs/usr/share/applications/pacman.desktop <<EOT
    3.25 +[Desktop Entry]
    3.26 +Type=Application
    3.27 +Name=Pacman
    3.28 +Exec=sh -c "url=file:///var/www/pacman/index.html; tazweb --notoolbar \$url || browser \$url"
    3.29 +Terminal=false
    3.30 +Categories=Game;
    3.31 +Icon=applications-games
    3.32 +EOT
    3.33 +}
     4.1 --- a/plop/receipt	Sun Aug 23 10:18:23 2020 +0000
     4.2 +++ b/plop/receipt	Sun Aug 23 15:10:17 2020 +0000
     4.3 @@ -47,10 +47,10 @@
     4.4  post_install()
     4.5  {
     4.6  	[ -s $1/boot/isolinux/isolinux.cfg ] &&
     4.7 -	! grep -qs 'USB/PCMCIA boot' $1/boot/isolinux/isolinux.cfg && sed -i \
     4.8 -'s|LABEL md5|LABEL plop usb pcmcia\
     4.9 +	! grep -qs '/plop.exe' $1/boot/isolinux/isolinux.cfg &&
    4.10 +	sed -i 's|i18n.cfg|&\n\
    4.11 +LABEL plop usb pcmcia\
    4.12  	MENU LABEL USB/PCMCIA boot\
    4.13 -	KERNEL /boot/plop.exe\
    4.14 -\n&|' $1/boot/isolinux/isolinux.cfg
    4.15 +	KERNEL /boot/plop.exe|' $1/boot/isolinux/isolinux.cfg
    4.16  	true
    4.17  }
     5.1 --- a/slitaz-doc/receipt	Sun Aug 23 10:18:23 2020 +0000
     5.2 +++ b/slitaz-doc/receipt	Sun Aug 23 15:10:17 2020 +0000
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="slitaz-doc"
     5.7 -VERSION="159"
     5.8 +VERSION="160"
     5.9  CATEGORY="base-system"
    5.10  SHORT_DESC="SliTaz system documentation."
    5.11  MAINTAINER="pankso@slitaz.org"
     6.1 --- a/webgames/receipt	Sun Aug 23 10:18:23 2020 +0000
     6.2 +++ b/webgames/receipt	Sun Aug 23 15:10:17 2020 +0000
     6.3 @@ -37,11 +37,9 @@
     6.4  EOT
     6.5  	done <<EOT
     6.6  https://sokoban.info/		Sokoban\
     6.7 -	Plateform\ game|[fr]Jeu\ de\ plateforme	text-html
     6.8 -http://minesweeper.biz/ 	MineSweeper|[fr]Démineur\
     6.9 -	MineSweeper|[fr]Démineur	text-html
    6.10 +	Plateform\ game|[fr]Jeu\ de\ plateforme	applications-internet
    6.11  http://chinese-checkers.net/	Chinese\ Checkers|[fr]Dames\ chinoises\
    6.12 -	Chinese\ Checkers|[fr]Dames\ chinoises	text-html
    6.13 +	Chinese\ Checkers|[fr]Dames\ chinoises	applications-internet
    6.14  http://games.slitaz.org/2048/index.html	2048
    6.15  http://games.slitaz.org/sudoku/index.html Sudoku	Puzzle
    6.16  http://games.slitaz.org/loderunner/lodeRunner.html\
    6.17 @@ -57,5 +55,7 @@
    6.18  http://games.slitaz.org/GreenMahjong/index.html	Mahjong
    6.19  http://games.slitaz.org/checkers/index.html	Checkers|[fr]Dames\ anglaises
    6.20  http://games.slitaz.org/Connect-Four/index.html	4\ in\ a\ raw|[fr]4\ en\ ligne
    6.21 +http://games.slitaz.org/minesweeper/index.html 	MineSweeper|[fr]Démineur
    6.22 +http://games.slitaz.org/pacman/index.html	Pacman
    6.23  EOT
    6.24  }