wok-next view web-telegram/receipt @ rev 20888

Check Repology info from q* to x* packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 14 17:43:03 2018 +0300 (2018-07-14)
parents 3842d11b928f
children
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 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
14 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
15 TAGS="cloud telegram"
17 BUILD_DEPENDS="wget"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
23 # Build Tree.
24 mkdir -p $install/usr/share/applications
25 mkdir -p $install/usr/share/pixmaps
27 # Writing ".desktop" files.
28 # -------------------------
29 # The icons preserve the 'web-*' name for no future conflicts
30 # with other applications.
31 #
32 # >_ Telegram Desktop
33 #
34 cat > $install/usr/share/applications/web-telegram.desktop << EOT
35 [Desktop Entry]
36 Type=Application
37 Name=Telegram Web
38 Comment=Telegram web for all platforms.
39 Categories=Network;
40 Icon=web-telegram
41 Exec=browser "https://web.telegram.org/"
43 EOT
44 #
45 # >_ Done
46 #
47 cp -a $src/icon/* $install/usr/share/pixmaps
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 cp -a $install/* $fs
54 }