wok-next annotate 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
rev   line source
hackdorte@19071 1 # SliTaz package receipt.
hackdorte@19071 2
hackdorte@19071 3 PACKAGE="web-telegram"
hackdorte@19071 4 VERSION="0.1"
hackdorte@19071 5 CATEGORY="network"
hackdorte@19071 6 SHORT_DESC="Telegram web for all platforms."
hackdorte@19071 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19071 8 LICENSE="GPLv3"
al@20888 9 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
al@20888 10 REPOLOGY="-"
al@20888 11
hackdorte@19071 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
hackdorte@19071 13 STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
hackdorte@19071 14 WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
hackdorte@19071 15 TAGS="cloud telegram"
hackdorte@19071 16
hackdorte@19071 17 BUILD_DEPENDS="wget"
hackdorte@19071 18
hackdorte@19071 19 # Rules to configure and make the package.
hackdorte@19071 20 compile_rules()
hackdorte@19071 21 {
hackdorte@19071 22
hackdorte@19071 23 # Build Tree.
hackdorte@19071 24 mkdir -p $install/usr/share/applications
hackdorte@19071 25 mkdir -p $install/usr/share/pixmaps
hackdorte@19071 26
hackdorte@19071 27 # Writing ".desktop" files.
hackdorte@19071 28 # -------------------------
hackdorte@19071 29 # The icons preserve the 'web-*' name for no future conflicts
hackdorte@19071 30 # with other applications.
hackdorte@19071 31 #
hackdorte@19071 32 # >_ Telegram Desktop
hackdorte@19071 33 #
hackdorte@19071 34 cat > $install/usr/share/applications/web-telegram.desktop << EOT
hackdorte@19071 35 [Desktop Entry]
hackdorte@19071 36 Type=Application
hackdorte@19071 37 Name=Telegram Web
hackdorte@19071 38 Comment=Telegram web for all platforms.
hackdorte@19071 39 Categories=Network;
hackdorte@19071 40 Icon=web-telegram
hackdorte@19071 41 Exec=browser "https://web.telegram.org/"
hackdorte@19071 42
hackdorte@19071 43 EOT
hackdorte@19071 44 #
hackdorte@19071 45 # >_ Done
hackdorte@19071 46 #
hackdorte@19071 47 cp -a $src/icon/* $install/usr/share/pixmaps
hackdorte@19071 48 }
hackdorte@19071 49
hackdorte@19071 50 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19071 51 genpkg_rules()
hackdorte@19071 52 {
hackdorte@19071 53 cp -a $install/* $fs
hackdorte@19071 54 }