wok view web-telegram/receipt @ rev 21909

updated sic (1.1 -> 1.2)
author Hans-G?nter Theisgen
date Fri Oct 04 15:39:32 2019 +0100 (2019-10-04)
parents
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="web-telegram"
4 VERSION="0.1"
5 CATEGORY="network"
6 SHORT_DESC="Telegram web for all platforms."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="GPLv3"
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 telegram"
15 BUILD_DEPENDS="wget"
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 # >_ Telegram Desktop
31 #
32 cat > $install/usr/share/applications/web-telegram.desktop << EOT
33 [Desktop Entry]
34 Type=Application
35 Name=Telegram Web
36 Comment=Telegram web for all platforms.
37 Categories=Network;
38 Icon=web-telegram
39 Exec=browser "https://web.telegram.org/"
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 }