wok view pacman/receipt @ rev 23946

syslinux/taziso: add plop support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 20 14:15:26 2020 +0000 (2020-09-20)
parents
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="pacman"
4 VERSION="1.0"
5 GITTAG="e2ea1dfc9716bd2a60cc814981fff8d3d67e4d5f"
6 CATEGORY="games"
7 SHORT_DESC="A pacman game clone"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="unknown"
10 WEB_SITE="https://github.com/ziw/Javascript-Pacman"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="$WEB_SITE/archive/$GITTAG.zip"
13 HOST_ARCH="any"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/var/www/pacman $fs/usr/share/applications
19 cp -a $src/* $fs/var/www/pacman
20 chown -R 80.80 $fs/var/www/pacman
21 cat > $fs/usr/share/applications/pacman.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Name=Pacman
25 Exec=sh -c "url=file:///var/www/pacman/index.html; tazweb --notoolbar \$url || browser \$url"
26 Terminal=false
27 Categories=Game;
28 Icon=applications-games
29 EOT
30 }