wok annotate Arkanoid/receipt @ rev 24334

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