summaryrefslogtreecommitdiff
path: root/net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-06-22 22:41:03 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-06-22 22:41:03 +0300
commit48a2dbd0632214996c8b61f80aef97f42d4977d3 (patch)
tree88b618c8c7c214569de0c80a732da2d559e40288 /net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild
parent2eec083b422ea90c64d6f3b122b1dba977f21f7f (diff)
parentbb4950d106d7822165480e9fd358c819fd56cc75 (diff)
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild')
-rw-r--r--net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.ebuild
new file mode 100644
index 00000000..4f059f60
--- /dev/null
+++ b/net-im/telegram-dev-bin/telegram-dev-bin-0.8.28.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"
+}
+