wok annotate pacman/receipt @ rev 24245
updated perl-net-server (2.009 -> 2.010)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:43:29 2022 +0100 (2022-01-02) |
parents | |
children | 34e801e0eb52 |
rev | line source |
---|---|
pascal@23926 | 1 # SliTaz package receipt. |
pascal@23926 | 2 |
pascal@23926 | 3 PACKAGE="pacman" |
pascal@23926 | 4 VERSION="1.0" |
pascal@23926 | 5 GITTAG="e2ea1dfc9716bd2a60cc814981fff8d3d67e4d5f" |
pascal@23926 | 6 CATEGORY="games" |
pascal@23926 | 7 SHORT_DESC="A pacman game clone" |
pascal@23926 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23926 | 9 LICENSE="unknown" |
pascal@23926 | 10 WEB_SITE="https://github.com/ziw/Javascript-Pacman" |
pascal@23926 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@23926 | 12 WGET_URL="$WEB_SITE/archive/$GITTAG.zip" |
pascal@23926 | 13 HOST_ARCH="any" |
pascal@23926 | 14 |
pascal@23926 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23926 | 16 genpkg_rules() |
pascal@23926 | 17 { |
pascal@23926 | 18 mkdir -p $fs/var/www/pacman $fs/usr/share/applications |
pascal@23926 | 19 cp -a $src/* $fs/var/www/pacman |
pascal@23926 | 20 chown -R 80.80 $fs/var/www/pacman |
pascal@23926 | 21 cat > $fs/usr/share/applications/pacman.desktop <<EOT |
pascal@23926 | 22 [Desktop Entry] |
pascal@23926 | 23 Type=Application |
pascal@23926 | 24 Name=Pacman |
pascal@23926 | 25 Exec=sh -c "url=file:///var/www/pacman/index.html; tazweb --notoolbar \$url || browser \$url" |
pascal@23926 | 26 Terminal=false |
pascal@23926 | 27 Categories=Game; |
pascal@23926 | 28 Icon=applications-games |
pascal@23926 | 29 EOT |
pascal@23926 | 30 } |