From c9b6d3767497da6461e4f2f2645ba6d81c77238f Mon Sep 17 00:00:00 2001 From: Alexe-Cristia Moldovan Date: Thu, 18 Jun 2015 15:16:31 +0300 Subject: add MEGASync for Nautilus --- .../nautilus-megasync-2.0.0.ebuild | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild (limited to 'gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild') 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 +} -- cgit v1.2.3