summaryrefslogtreecommitdiff
path: root/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild')
-rw-r--r--gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild b/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
new file mode 100644
index 00000000..0528eef8
--- /dev/null
+++ b/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils multilib unpacker
+
+DESCRIPTION="Nautilus plugin for using the MEGA account with Megasync"
+HOMEPAGE="http://mega.co.nz"
+SRC_URI="
+ x86? ( https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/i386/${PN}_${PV}_i386.deb )
+ amd64? ( https://mega.co.nz/linux/MEGAsync/xUbuntu_14.04/amd64/${PN}_${PV}_amd64.deb )
+"
+
+LICENSE="MEGA"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="net-misc/megasync
+ gnome-base/nautilus"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack(){
+ unpack ${A}
+ unpack ./data.tar.xz
+ rm -vr control.tar.gz data.tar.xz debian-binary usr/src
+}
+
+src_install(){
+ insinto /
+ doins -r usr
+}