wok-next view web-whatsapp/receipt @ rev 20888
Check Repology info from q* to x* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 14 17:43:03 2018 +0300 (2018-07-14) |
parents | d43bf7aae921 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="web-whatsapp"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Send and receive WhatsApp messages right from your computer."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="WhatsApp-Inc"
9 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
14 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
15 TAGS="cloud whatsapp"
17 DEPENDS="firefox-official"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 # Build Tree.
24 mkdir -p $install/usr/share/applications
25 mkdir -p $install/usr/share/pixmaps
27 # Writing ".desktop" files.
28 # -------------------------
29 # The icons preserve the 'web-*' name for no future conflicts
30 # with other applications.
31 #
32 # >_ WhatsApp Desktop
33 #
34 cat > $install/usr/share/applications/web-whatsapp.desktop << EOT
35 [Desktop Entry]
36 Type=Application
37 Name=WhatsApp Web
38 Comment=Send and receive WhatsApp messages right from your computer.
39 Categories=Network;
40 Icon=web-whatsapp
41 Exec=firefox-official "https://web.whatsapp.com/"
43 EOT
44 #
45 # >_ Done
46 #
47 cp -a $src/icon/* $install/usr/share/pixmaps
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 cp -a $install/* $fs
54 }