summaryrefslogtreecommitdiff
path: root/net-im/viber/viber-6.0.1.5.ebuild
blob: 21d3a71db50eb7a2011f5c71c52456c266b0a6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}