summaryrefslogtreecommitdiff
path: root/net-im/telegram-bin
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telegram-bin')
-rw-r--r--net-im/telegram-bin/Manifest3
-rw-r--r--net-im/telegram-bin/telegram-bin-0.8.24.ebuild36
2 files changed, 39 insertions, 0 deletions
diff --git a/net-im/telegram-bin/Manifest b/net-im/telegram-bin/Manifest
new file mode 100644
index 00000000..f9a0a7e6
--- /dev/null
+++ b/net-im/telegram-bin/Manifest
@@ -0,0 +1,3 @@
+DIST tsetup.0.8.24.tar.xz 19468300 SHA256 80a58b100a690df1b90bf6b275024210e5aff4e4600e2fd231ae9befc044c500 SHA512 0bce502eca7e759ef93f44999fb31f6795248ce30f5cc6f2f4a83ee57dda89707a23af58ad3847673b511a87a462b849a02e471f6bd5f0e4b8fedffe9cb7b436 WHIRLPOOL 9488809344d5f199de237f2bd1d6123913899a85dbb8f031ab5e908c079ce3916ad96030e9abc2bab48615f528bd55b3a43c0cdd594c275f6db9b068ecfae76b
+DIST tsetup32.0.8.24.tar.xz 19384744 SHA256 5ad46a4a0b14c4a6004068b7abb5d92242c7221a87fe74f99568f28e1e16f5d2 SHA512 45c350c102befba1a5bbb261e497e26cd3b9be4df8bf756a82d8c2d96fe2c790c01e4ed27aeade3434eb9eb9eb89e40ca5fe788013659993c1b95ea57c0b8a78 WHIRLPOOL ad0ed87e6b37e534ddbcfee20cacb4624c7db49eea6b975398f9ed56e9ffb29cfebb0a4f1f59dbab61e54950a6f285196d85d343876c83cc982beee24a2dfd78
+EBUILD telegram-bin-0.8.24.ebuild 847 SHA256 fe02b2f67cf9e6d9fdb9b7ddd00700cbb4699dfd77877bf019bceaa176157ed6 SHA512 c3e1f80cc3026bddbd2506da4523b4253872392cfd9b3f4ea439806d8fab9011bfa1ae344250fc3b51b7f852a0400612eca14848e8c1d305288038f290dbe6e8 WHIRLPOOL 237a646643c620e1bbbf1a3022a41e5b76da12a13de8108966639e604d6fe811b62634de635b04518dd03be7712ba6bdd8d10446fae7c2af9e5f8fca8b578b95
diff --git a/net-im/telegram-bin/telegram-bin-0.8.24.ebuild b/net-im/telegram-bin/telegram-bin-0.8.24.ebuild
new file mode 100644
index 00000000..28f2533d
--- /dev/null
+++ b/net-im/telegram-bin/telegram-bin-0.8.24.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 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) binary version"
+HOMEPAGE="https://tdesktop.com/"
+SRC_URI="
+ amd64? ( http://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz )
+ x86? ( http://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz )"
+
+RESTRICT="mirror"
+LICENSE="GPL-3"
+IUSE="updater"
+KEYWORDS="~x86 ~amd64"
+INSTALL_DIR="/opt/telegram"
+SLOT="0"
+DEPEND=""
+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"
+}
+