wok-6.x view racer10k/receipt @ rev 24257

updated perl-test-nowarnings (1.04 -> 1.06)
author Hans-G?nter Theisgen
date Sun Jan 02 10:05:21 2022 +0100 (2022-01-02)
parents
children 34e801e0eb52
line source
1 # SliTaz package receipt.
3 PACKAGE="racer10k"
4 VERSION="1.0"
5 GITTAG="e21d88653bfb959e8865d08f01592f6b4fa17fa7"
6 CATEGORY="games"
7 SHORT_DESC="A tiny tux racer in html5"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://github.com/onaluf/RacerJS"
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/racer10k $fs/usr/share/applications
19 cp -a $src/* $fs/var/www/racer10k
20 chown -R 80.80 $fs/var/www/racer10k
21 cat > $fs/usr/share/applications/racer10k.desktop <<EOT
22 [Desktop Entry]
23 Type=Application
24 Name=racer
25 Exec=sh -c "url=file:///var/www/racer10k/racer.html; tazweb --notoolbar \$url || browser \$url"
26 Terminal=false
27 Categories=Game;
28 Icon=applications-games
29 EOT
30 }