wok-current diff web-telegram/receipt @ rev 22742

updated dstat (0.7.3 -> 0.7.4)
author Hans-G?nter Theisgen
date Fri Jan 24 08:08:29 2020 +0100 (2020-01-24)
parents
children 535c806240cc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/web-telegram/receipt	Fri Jan 24 08:08:29 2020 +0100
     1.3 @@ -0,0 +1,52 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="web-telegram"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Telegram web for all platforms."
    1.10 +MAINTAINER="hackdorte@sapo.pt"
    1.11 +LICENSE="GPLv3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://people.slitaz.org/~leonardolaporte"
    1.14 +STUFF_DIR="lab.slitaz/5.0/pkg/web/messengers"
    1.15 +WGET_URL="${WEB_SITE}/$STUFF_DIR/${TARBALL}"
    1.16 +TAGS="cloud telegram"
    1.17 +
    1.18 +BUILD_DEPENDS="wget"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +
    1.24 +# Build Tree.
    1.25 +  mkdir -p $install/usr/share/applications
    1.26 +  mkdir -p $install/usr/share/pixmaps
    1.27 +
    1.28 +# Writing ".desktop" files.
    1.29 +# -------------------------
    1.30 +# The icons preserve the 'web-*' name for no future conflicts
    1.31 +# with other applications.
    1.32 +#
    1.33 +# >_ Telegram Desktop
    1.34 +#
    1.35 +cat > $install/usr/share/applications/web-telegram.desktop << EOT
    1.36 +[Desktop Entry]
    1.37 +Type=Application
    1.38 +Name=Telegram Web
    1.39 +Comment=Telegram web for all platforms.
    1.40 +Categories=Network;
    1.41 +Icon=web-telegram
    1.42 +Exec=browser "https://web.telegram.org/"
    1.43 +
    1.44 +EOT
    1.45 +#
    1.46 +# >_ Done
    1.47 +#
    1.48 +  cp -a $src/icon/* $install/usr/share/pixmaps
    1.49 +}
    1.50 +
    1.51 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.52 +genpkg_rules()
    1.53 +{
    1.54 +  cp -a $install/* $fs
    1.55 +}