wok view web-whatsapp/receipt @ rev 20505
partclone 0.2.89 -> 0.2.70: dpkg-architecture not used here
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Tue Oct 30 11:23:14 2018 +0000 (2018-10-30) |
parents | |
children | 535c806240cc |
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"
16 BUILD_DEPENDS="wget"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 # Build Tree.
23 mkdir -p $install/usr/share/applications
24 mkdir -p $install/usr/share/pixmaps
26 # Writing ".desktop" files.
27 # -------------------------
28 # The icons preserve the 'web-*' name for no future conflicts
29 # with other applications.
30 #
31 # >_ WhatsApp Desktop
32 #
33 cat > $install/usr/share/applications/web-whatsapp.desktop << EOT
34 [Desktop Entry]
35 Type=Application
36 Name=WhatsApp Web
37 Comment=Send and receive WhatsApp messages right from your computer.
38 Categories=Network;
39 Icon=web-whatsapp
40 Exec=firefox-official "https://web.whatsapp.com/"
42 EOT
43 #
44 # >_ Done
45 #
46 cp -a $src/icon/* $install/usr/share/pixmaps
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cp -a $install/* $fs
53 }