From 28d3d9a139ae657980e061f2c8df243800216a70 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 26 Jun 2016 20:25:53 +0100 Subject: add viber desktop client --- net-im/viber/Manifest | 1 + net-im/viber/files/00-desktop.patch | 11 +++++++++++ net-im/viber/viber-6.0.1.5.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 net-im/viber/Manifest create mode 100644 net-im/viber/files/00-desktop.patch create mode 100644 net-im/viber/viber-6.0.1.5.ebuild diff --git a/net-im/viber/Manifest b/net-im/viber/Manifest new file mode 100644 index 00000000..1aece2c4 --- /dev/null +++ b/net-im/viber/Manifest @@ -0,0 +1 @@ +DIST viber.deb 98721050 SHA256 712d6d21b0e8dbd6cf4589f37615d6b65a2b3d99bcf012396d6219b3afb8db08 SHA512 e4abe1a8961a3fb35ccee41a50982b588fc5405396c46b68f7d911848a4cdd5ed1500577727b51e87d9477e871891a0b8b232df071186dabe4d1c1d38534663f WHIRLPOOL 174e7ca8655d6caa86c884b5374fc188938ae9c87dd20733202607401c024bb1f370bd0aabca9163ac2ace86810bf8c04d79ee3a42a423209f74c55b20a8d767 diff --git a/net-im/viber/files/00-desktop.patch b/net-im/viber/files/00-desktop.patch new file mode 100644 index 00000000..fa159de4 --- /dev/null +++ b/net-im/viber/files/00-desktop.patch @@ -0,0 +1,11 @@ +--- usr/share/applications/viber.desktop.old 2014-04-03 12:24:38.000000000 +0400 ++++ usr/share/applications/viber.desktop 2014-04-03 12:25:03.000000000 +0400 +@@ -6,5 +6,5 @@ + Terminal=false + Type=Application + Encoding=UTF-8 +-Categories=Network;Application; +-Path= ++Categories=Network; ++Path=/opt/viber + diff --git a/net-im/viber/viber-6.0.1.5.ebuild b/net-im/viber/viber-6.0.1.5.ebuild new file mode 100644 index 00000000..21d3a71d --- /dev/null +++ b/net-im/viber/viber-6.0.1.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit eutils +DESCRIPTION="Free calls, text and picture sharing with anyone, anywhere!" +HOMEPAGE="http://www.viber.com" +SRC_URI="http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb" + +SLOT="0" +KEYWORDS="" +IUSE="" +RESTRICT="strip" +S="${WORKDIR}" + +src_unpack() { + default_src_unpack + unpack ./data.tar.xz + epatch "${FILESDIR}/00-desktop.patch" +} + +src_install(){ + doins -r opt usr + fperms 755 /opt/viber/Viber +} + -- cgit v1.2.3