From acc7819462381bc7a0745f4905e84ef00c8b5ed0 Mon Sep 17 00:00:00 2001 From: Alexe-Cristia Moldovan Date: Thu, 18 Jun 2015 15:22:33 +0300 Subject: add Telegram --- net-im/telegram-dev-bin/Manifest | 3 ++ .../telegram-dev-bin-0.8.27.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 net-im/telegram-dev-bin/Manifest create mode 100644 net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild (limited to 'net-im/telegram-dev-bin') diff --git a/net-im/telegram-dev-bin/Manifest b/net-im/telegram-dev-bin/Manifest new file mode 100644 index 00000000..59f3d139 --- /dev/null +++ b/net-im/telegram-dev-bin/Manifest @@ -0,0 +1,3 @@ +DIST tsetup.0.8.27.dev.tar.xz 19533228 SHA256 2507d1cb02bca0fa9294793412679754a131a6dfbdcb2892bb35967f8ebd8701 SHA512 70b8eb7fc468b1cd5c6055e5ac58f5251b18f6f62ee997e8cc439981f0aa6dc2de1daf3aa68d39c96461e59cf4035b72b42cc3f1e644705e9677a6fa45279278 WHIRLPOOL 306cdb96bbee2e9fd207417d61521b8e3e7ce23a102b3dc3e07c77444c03623abf69054f4336e1ceff47cb42b113611aeee234c2dfbbff6e03ebdbd02714495a +DIST tsetup32.0.8.27.dev.tar.xz 19450120 SHA256 fd8feced6024d8061803279bcc282273e59b08abec37c9c8a568fa5a5c06923a SHA512 d2d7bb95019fa9132e4bb41eb36e39e2c20bb60a87903d514be9f07ad7cc5c5a30a64c86b901c21c905cc48f3253d088b6db738351074e64884fc65b14521f07 WHIRLPOOL a90c0d1c3bb0ef10e3f5b76f7cb5e7e89823fa3f796b2a92ab89dcc3efb2e36383cd120d09017fcc60379767a15a5d0f618a2ece65771182a850c338461108fe +EBUILD telegram-dev-bin-0.8.27.ebuild 907 SHA256 e3aabda8dd2c29f6a85865b4d1bad0f2c1f87068647ce16bd965a8ae09b9daf5 SHA512 f6972756ea815bc71e50726aebc2fa44877e52fabb093808eac69800656daef5d49d2cb0bb7d900a7c14223aa827e26856c8dcd1566badf3fffd03a8258f6d70 WHIRLPOOL 418972a50790329ca1f2cef96fc2e437d4c5895c4d7090d9e88dcdbf4a3b764ec1fd858d72130a930700ea3d6694fc1336b72b44da31633cca92d5a16125ff48 diff --git a/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild new file mode 100644 index 00000000..4f059f60 --- /dev/null +++ b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.27.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +inherit eutils versionator + +RESTRICT="strip" + +DESCRIPTION="Telegram Desktop Messenger (official client; dev channel) binary version" +HOMEPAGE="https://tdesktop.com/" +SRC_URI=" + amd64? ( http://updates.tdesktop.com/tlinux/tsetup.${PV}.dev.tar.xz ) + x86? ( http://updates.tdesktop.com/tlinux32/tsetup32.${PV}.dev.tar.xz )" + +RESTRICT="mirror" +LICENSE="GPL-3" +IUSE="updater" +KEYWORDS="~x86 ~amd64" +INSTALL_DIR="/opt/telegram" +SLOT="0" +DEPEND="!net-im/telegram + !net-im/telegram-bin" +RDEPEND="${DEPEND}" +S="${WORKDIR}/Telegram" + +src_install() { + insinto "${INSTALL_DIR}" + insopts -m755 + doins -r Telegram + if use updater;then + doins -r Updater + fi + make_wrapper "telegram" "${INSTALL_DIR}/Telegram" + make_desktop_entry "telegram" "Telegram" "telegram" "Messenger" +} + -- cgit v1.2.3