wok diff Connect-Four/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | |
children | 34e801e0eb52 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Connect-Four/receipt Wed Feb 16 07:53:02 2022 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Connect-Four" 1.7 +VERSION="1.0" 1.8 +GITTAG="fa4bbe1fbd6158fa4504d3cb832d8d4af4d3f805" 1.9 +CATEGORY="games" 1.10 +SHORT_DESC="A Connect Four game in JavaScript" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="unknown" 1.13 +WEB_SITE="https://github.com/OmarAlEisa/Connect-Four" 1.14 +TARBALL="$PACKAGE-$VERSION.zip" 1.15 +WGET_URL="$WEB_SITE/archive/$GITTAG.zip" 1.16 +HOST_ARCH="any" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/var/www/Connect-Four $fs/usr/share/applications 1.22 + cp -a $src/[a-z]* $fs/var/www/Connect-Four 1.23 + sed -i '/<script>/,/<\/script>/d' $fs/var/www/Connect-Four/index.html 1.24 + chown -R 80.80 $fs/var/www/Connect-Four 1.25 + cat > $fs/usr/share/applications/Connect-Four.desktop <<EOT 1.26 +[Desktop Entry] 1.27 +Type=Application 1.28 +Name=4 in a raw 1.29 +Name[fr]=4 en ligne 1.30 +Exec=sh -c "url=file:///var/www/Connect-Four/index.html; tazweb --notoolbar \$url || browser \$url" 1.31 +Terminal=false 1.32 +Categories=Game; 1.33 +Icon=applications-games 1.34 +EOT 1.35 +}