wok rev 24123

Add Arkanoid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 08:15:26 2021 +0000 (2021-10-06)
parents 34d31b7fedfe
children 271622a4c4d7
files Arkanoid/receipt webgames/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Arkanoid/receipt	Wed Oct 06 08:15:26 2021 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="Arkanoid"
     1.7 +GITHASH="0b49ab21d5b135b2718fe0664c6c92b4deb2b46e"
     1.8 +VERSION="2016"
     1.9 +CATEGORY="games"
    1.10 +SHORT_DESC="The classic atari arcade game arkanoid"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="MIT"
    1.13 +TARBALL="$PACKAGE-$VERSION.zip"
    1.14 +WEB_SITE="https://github.com/shiningdragon/Arkanoid"
    1.15 +WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/var/www $fs/usr/share/applications
    1.21 +	cp -a $src $fs/var/www/$PACKAGE
    1.22 +	cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
    1.23 +[Desktop Entry]
    1.24 +Type=Application
    1.25 +Name=$PACKAGE
    1.26 +Exec=sh -c "url=http://127.0.0.1/$PACKAGE/public/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
    1.27 +Icon=applications-games
    1.28 +Terminal=false
    1.29 +Categories=Game
    1.30 +EOT
    1.31 +}
     2.1 --- a/webgames/receipt	Tue Oct 05 17:12:25 2021 +0100
     2.2 +++ b/webgames/receipt	Wed Oct 06 08:15:26 2021 +0000
     2.3 @@ -59,5 +59,6 @@
     2.4  http://games.slitaz.org/Connect-Four/index.html	Connect\ four|[fr]4\ en\ ligne
     2.5  http://games.slitaz.org/minesweeper/index.html 	Mine\ sweeper|[fr]Démineur
     2.6  http://games.slitaz.org/pacman/index.html	Pacman
     2.7 +http://games.slitaz.org/Arkanoid/public/index.html	Arkanoid
     2.8  EOT
     2.9  }