diff options
author | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
---|---|---|
committer | Stefan Cristian B. <steven.darklight@gmail.com> | 2015-06-18 18:31:03 +0300 |
commit | 71c20430bd06d80b663fb54d1df67598d804c219 (patch) | |
tree | 8ed9e8852b128c270f9197edf597532ac3fd8e11 /net-im/telegram-bin/telegram-bin-0.8.24.ebuild | |
parent | 35875647a1f4db65a3a7a559479ef8e311acbac2 (diff) | |
parent | 975d01bc65f0f9190808c0d3cddf3131a790a8f6 (diff) |
Merge pull request #52 from crismblog/master
Applications useful and beautiful themes
Diffstat (limited to 'net-im/telegram-bin/telegram-bin-0.8.24.ebuild')
-rw-r--r-- | net-im/telegram-bin/telegram-bin-0.8.24.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
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" +} + |