wok-next view web-whatsapp/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 3842d11b928f |
children | cd7906120828 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
11 STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
12 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
13 TAGS="cloud whatsapp"
15 DEPENDS="firefox-official"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
21 # Build Tree.
22 mkdir -p $install/usr/share/applications
23 mkdir -p $install/usr/share/pixmaps
25 # Writing ".desktop" files.
26 # -------------------------
27 # The icons preserve the 'web-*' name for no future conflicts
28 # with other applications.
29 #
30 # >_ WhatsApp Desktop
31 #
32 cat > $install/usr/share/applications/web-whatsapp.desktop << EOT
33 [Desktop Entry]
34 Type=Application
35 Name=WhatsApp Web
36 Comment=Send and receive WhatsApp messages right from your computer.
37 Categories=Network;
38 Icon=web-whatsapp
39 Exec=firefox-official "https://web.whatsapp.com/"
41 EOT
42 #
43 # >_ Done
44 #
45 cp -a $src/icon/* $install/usr/share/pixmaps
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 cp -a $install/* $fs
52 }