summaryrefslogtreecommitdiff
path: root/gnome-extra/nautilus-megasync/nautilus-megasync-2.0.0.ebuild
blob: 0528eef8aa5cf7dc9c0ef033e48405dba8ee1673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
}