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

30 lines
574 B
Bash
Raw Normal View History

2016-04-30 03:32:54 +03:00
# Copyright 1999-2015 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"
DEPEND="dev-qt/qtsvg"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
RESTRICT="strip"
S="${WORKDIR}"
src_unpack() {
default_src_unpack
unpack ./data.tar.gz
epatch "${FILESDIR}/viber-9999-desktop.patch"
}
src_install(){
doins -r opt usr
fperms 755 /opt/viber/Viber
}