wok-6.x view web-whatsapp/receipt @ rev 24685

updated jasper and jasper-dev (2.0.16 -> 3.0.2)
author Hans-G?nter Theisgen
date Sat Mar 12 11:11:48 2022 +0100 (2022-03-12)
parents 3842d11b928f
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 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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
29 # Build Tree.
30 mkdir -p $install/usr/share/applications
31 mkdir -p $install/usr/share/pixmaps
33 # Writing ".desktop" files.
34 # -------------------------
35 # The icons preserve the 'web-*' name for no future conflicts
36 # with other applications.
37 #
38 # >_ WhatsApp Desktop
39 #
40 cat > $install/usr/share/applications/web-whatsapp.desktop << EOT
41 [Desktop Entry]
42 Type=Application
43 Name=WhatsApp Web
44 Comment=Send and receive WhatsApp messages right from your computer.
45 Categories=Network;
46 Icon=web-whatsapp
47 Exec=firefox-official "https://web.whatsapp.com/"
49 EOT
50 #
51 # >_ Done
52 #
53 cp -a $src/icon/* $install/usr/share/pixmaps
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 cp -a $install/* $fs
60 }