wok diff web-whatsapp/receipt @ rev 21975

updated st (0.5 -> 0.8.2)
author Hans-G?nter Theisgen
date Fri Oct 11 14:31:25 2019 +0100 (2019-10-11)
parents
children 535c806240cc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web-whatsapp/receipt	Fri Oct 11 14:31:25 2019 +0100
     1.3 @@ -0,0 +1,53 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="web-whatsapp"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Send and receive WhatsApp messages right from your computer."
    1.10 +MAINTAINER="hackdorte@sapo.pt"
    1.11 +LICENSE="WhatsApp-Inc"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://people.slitaz.org/~leonardolaporte"
    1.14 +STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
    1.15 +WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
    1.16 +TAGS="cloud whatsapp"
    1.17 +
    1.18 +DEPENDS="firefox-official"
    1.19 +BUILD_DEPENDS="wget"
    1.20 +
    1.21 +# Rules to configure and make the package.
    1.22 +compile_rules()
    1.23 +{
    1.24 +
    1.25 +# Build Tree.
    1.26 +  mkdir -p $install/usr/share/applications
    1.27 +  mkdir -p $install/usr/share/pixmaps
    1.28 +
    1.29 +# Writing ".desktop" files.
    1.30 +# -------------------------
    1.31 +# The icons preserve the 'web-*' name for no future conflicts
    1.32 +# with other applications.
    1.33 +#
    1.34 +# >_ WhatsApp Desktop
    1.35 +#
    1.36 +cat > $install/usr/share/applications/web-whatsapp.desktop << EOT
    1.37 +[Desktop Entry]
    1.38 +Type=Application
    1.39 +Name=WhatsApp Web
    1.40 +Comment=Send and receive WhatsApp messages right from your computer.
    1.41 +Categories=Network;
    1.42 +Icon=web-whatsapp
    1.43 +Exec=firefox-official "https://web.whatsapp.com/"
    1.44 +
    1.45 +EOT
    1.46 +#
    1.47 +# >_ Done
    1.48 +#
    1.49 +  cp -a $src/icon/* $install/usr/share/pixmaps
    1.50 +}
    1.51 +
    1.52 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.53 +genpkg_rules()
    1.54 +{
    1.55 +  cp -a $install/* $fs
    1.56 +}