wok view Arkanoid/receipt @ rev 24392

updated cacerts (20200522 -> 20220208)
author Hans-G?nter Theisgen
date Tue Feb 08 07:48:00 2022 +0100 (2022-02-08)
parents
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="Arkanoid"
4 GITHASH="0b49ab21d5b135b2718fe0664c6c92b4deb2b46e"
5 VERSION="2016"
6 CATEGORY="games"
7 SHORT_DESC="The classic atari arcade game arkanoid"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$PACKAGE-$VERSION.zip"
11 WEB_SITE="https://github.com/shiningdragon/Arkanoid"
12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/var/www $fs/usr/share/applications
18 cp -a $src $fs/var/www/$PACKAGE
19 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
20 [Desktop Entry]
21 Type=Application
22 Name=$PACKAGE
23 Exec=sh -c "url=http://127.0.0.1/$PACKAGE/public/index.html ; tazweb --notoolbar \\\$url || browser \\\$url"
24 Icon=applications-games
25 Terminal=false
26 Categories=Game
27 EOT
28 }