From 4780b47232de412a1f5faaf2e4a3265fc50e36ce Mon Sep 17 00:00:00 2001 From: KronoZed Date: Tue, 6 Dec 2016 05:04:19 +0300 Subject: [PATCH] Create rambox-bin-0.4.5.ebuild --- net-im/rambox-bin/rambox-bin-0.4.5.ebuild | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 net-im/rambox-bin/rambox-bin-0.4.5.ebuild diff --git a/net-im/rambox-bin/rambox-bin-0.4.5.ebuild b/net-im/rambox-bin/rambox-bin-0.4.5.ebuild new file mode 100644 index 0000000..7c451ad --- /dev/null +++ b/net-im/rambox-bin/rambox-bin-0.4.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils autotools + +DESCRIPTION="Free and Open Source messaging and emailing app that combines common web applications into one" +HOMEPAGE="http://rambox.pro/" + +SRC_URI_AMD64="https://github.com/saenzramiro/rambox/releases/download/${PV}/Rambox-${PV}-x64.tar.gz" +SRC_URI_X86="https://github.com/saenzramiro/rambox/releases/download/${PV}/Rambox-${PV}-ia32.tar.gz" +SRC_URI=" + amd64? ( ${SRC_URI_AMD64} ) + x86? ( ${SRC_URI_X86} ) +" + +SRC_URI="https://github.com/saenzramiro/rambox/releases/download/${PV}/Rambox-${PV}-x64.tar.gz" + +SLOT='0' + +KEYWORDS="~amd64 ~x86" + +RESTRICT="mirror" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} +} + +src_install() { + dodir /usr/share/Rambox/ + cp -R ${WORKDIR}/Rambox-${PV}/* ${D}/usr/share/Rambox || die "Install failed!" + dolib ${WORKDIR}/Rambox-${PV}/libnode.so + dolib ${WORKDIR}/Rambox-${PV}/libffmpeg.so + domenu ${FILESDIR}/rambox.desktop + doicon ${FILESDIR}/rambox.png + dodir /usr/bin + dosym /usr/share/Rambox/Rambox /usr/bin/Rambox +}