summaryrefslogtreecommitdiff
path: root/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
diff options
context:
space:
mode:
authorAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:16:31 +0300
committerAlexe-Cristia Moldovan <contact@crism.ro>2015-06-18 15:16:31 +0300
commitc9b6d3767497da6461e4f2f2645ba6d81c77238f (patch)
tree289826360ba50ffe450e31b06710ef774abd942d /gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
parent6c71fa52ceba4ae9e9b9258c8d3fd4edab905519 (diff)
add MEGASync for Nautilus
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
+}