wok-current rev 23922

Add alieninvasion, spaceinvader, racer10k and javascript-racer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 22 17:01:17 2020 +0000 (2020-08-22)
parents 8f9abd79c4da
children 02aa784b8c4b
files alieninvasion/receipt javascript-racer/receipt racer10k/receipt spaceinvaders/receipt webgames/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/alieninvasion/receipt	Sat Aug 22 17:01:17 2020 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="alieninvasion"
     1.7 +VERSION="1.0"
     1.8 +GITTAG="d208e3c803c826999aa0592993c3c934dfcc5613"
     1.9 +CATEGORY="games"
    1.10 +SHORT_DESC="Invader game in html5"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="MIT GPL"
    1.13 +WEB_SITE="https://github.com/cykod/AlienInvasion"
    1.14 +TARBALL="$PACKAGE-$VERSION.zip"
    1.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    1.16 +HOST_ARCH="any"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/var/www/alieninvasion $fs/usr/share/applications
    1.22 +	cp -a $src/[a-z]* $fs/var/www/alieninvasion
    1.23 +	chown -R 80.80 $fs/var/www/alieninvasion
    1.24 +	cat > $fs/usr/share/applications/alieninvasion.desktop <<EOT
    1.25 +[Desktop Entry]
    1.26 +Type=Application
    1.27 +Name=Alien invasion
    1.28 +Exec=sh -c "url=file:///var/www/alieninvasion/index.html; tazweb --notoolbar \$url || browser \$url"
    1.29 +Terminal=false
    1.30 +Categories=Game;
    1.31 +Icon=applications-games
    1.32 +EOT
    1.33 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/javascript-racer/receipt	Sat Aug 22 17:01:17 2020 +0000
     2.3 @@ -0,0 +1,30 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="javascript-racer"
     2.7 +VERSION="1.0"
     2.8 +GITTAG="79198ab1485445220ceec011f54d8c2ec4e8d29d"
     2.9 +CATEGORY="games"
    2.10 +SHORT_DESC="A tux racer in html5"
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="MIT"
    2.13 +WEB_SITE="https://github.com/jakesgordon/javascript-racer/"
    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/javascript-racer $fs/usr/share/applications
    2.22 +	cp -a $src/[a-z]* $fs/var/www/javascript-racer
    2.23 +	chown -R 80.80 $fs/var/www/javascript-racer
    2.24 +	cat > $fs/usr/share/applications/javascript-racer.desktop <<EOT
    2.25 +[Desktop Entry]
    2.26 +Type=Application
    2.27 +Name=JSracer
    2.28 +Exec=sh -c "url=file:///var/www/javascript-racer/v4.final.html; tazweb --notoolbar \$url || browser \$url"
    2.29 +Terminal=false
    2.30 +Categories=Game;
    2.31 +Icon=applications-games
    2.32 +EOT
    2.33 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/racer10k/receipt	Sat Aug 22 17:01:17 2020 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="racer10k"
     3.7 +VERSION="1.0"
     3.8 +GITTAG="e21d88653bfb959e8865d08f01592f6b4fa17fa7"
     3.9 +CATEGORY="games"
    3.10 +SHORT_DESC="A tiny tux racer in html5"
    3.11 +MAINTAINER="pascal.bellard@slitaz.org"
    3.12 +LICENSE="MIT"
    3.13 +WEB_SITE="https://github.com/onaluf/RacerJS"
    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/racer10k $fs/usr/share/applications
    3.22 +	cp -a $src/* $fs/var/www/racer10k
    3.23 +	chown -R 80.80 $fs/var/www/racer10k
    3.24 +	cat > $fs/usr/share/applications/racer10k.desktop <<EOT
    3.25 +[Desktop Entry]
    3.26 +Type=Application
    3.27 +Name=racer
    3.28 +Exec=sh -c "url=file:///var/www/racer10k/racer.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 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/spaceinvaders/receipt	Sat Aug 22 17:01:17 2020 +0000
     4.3 @@ -0,0 +1,30 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="spaceinvaders"
     4.7 +VERSION="1.0"
     4.8 +GITTAG="51edabf0b3af6d9e224360ae9e7f4502ac15fc84"
     4.9 +CATEGORY="games"
    4.10 +SHORT_DESC="Invader game in html5"
    4.11 +MAINTAINER="pascal.bellard@slitaz.org"
    4.12 +LICENSE="MIT"
    4.13 +WEB_SITE="https://github.com/StrykerKKD/SpaceInvaders"
    4.14 +TARBALL="$PACKAGE-$VERSION.zip"
    4.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
    4.16 +HOST_ARCH="any"
    4.17 +
    4.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 +genpkg_rules()
    4.20 +{
    4.21 +	mkdir -p $fs/var/www/spaceinvaders $fs/usr/share/applications
    4.22 +	cp -a $src/[a-z]* $fs/var/www/spaceinvaders
    4.23 +	chown -R 80.80 $fs/var/www/spaceinvaders
    4.24 +	cat > $fs/usr/share/applications/spaceinvaders.desktop <<EOT
    4.25 +[Desktop Entry]
    4.26 +Type=Application
    4.27 +Name=Space invaders
    4.28 +Exec=sh -c "url=file:///var/www/spaceinvaders/index.html; tazweb --notoolbar \$url || browser \$url"
    4.29 +Terminal=false
    4.30 +Categories=Game;
    4.31 +Icon=applications-games
    4.32 +EOT
    4.33 +}
     5.1 --- a/webgames/receipt	Fri Aug 21 15:07:47 2020 +0000
     5.2 +++ b/webgames/receipt	Sat Aug 22 17:01:17 2020 +0000
     5.3 @@ -54,5 +54,11 @@
     5.4  	applications-games
     5.5  http://games.slitaz.org/same/index.html\
     5.6  	Same		same	applications-games
     5.7 +http://games.slitaz.org/alieninvasion/index.html\
     5.8 +	AlienInvasion		Galaga\ clone	applications-games
     5.9 +http://games.slitaz.org/spaceinvader/index.html\
    5.10 +	SpaceInvaders		Space\ invaders\ clone	applications-games
    5.11 +http://games.slitaz.org/javascript-racer/v4.final.html\
    5.12 +	JSracer		Tux\ racer\ clone	applications-games
    5.13  EOT
    5.14  }