Overlay/net-im/viber/viber-9999.ebuild

30 lines
538 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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="~amd64"
IUSE=""
RESTRICT="strip"
S="${WORKDIR}"
#TODO: ???
LICENSE="EULA"
src_prepare() {
unpack ./control.tar.gz
unpack ./data.tar.xz
}
src_install(){
doins -r opt usr
fperms 755 /opt/viber/Viber
}