wok-current view web-telegram/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
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 }