commit:     ef73a40c32ee2f335a49f057a3a08f7514327db9
Author:     Alexander Kurakin <kuraga333 <AT> mail <DOT> ru>
AuthorDate: Sun Jul 12 08:57:55 2020 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 09:32:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef73a40c

net-misc/rclone: bump 1.52.2

Closes: https://bugs.gentoo.org/732318
Signed-off-by: Alexander Kurakin <kuraga333 <AT> mail.ru>
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>

 net-misc/rclone/Manifest             |  1 +
 net-misc/rclone/rclone-1.52.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 54d68761a9b..481e7f93879 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -1,2 +1,3 @@
 DIST rclone-1.51.0.tar.gz 18835242 BLAKE2B 
5798a844c893e111e73ae409adcb06fd4291df3c0319bf983f2336ada45a60df253e750397bead55278cbb497c541a63498f695ce03af7b6cc1056f022ad2748
 SHA512 
b0881e09b75093abe4d31e95425a90513aed4a16d9e2dbf79023c9dc68875b90a1332204879530c450a16ab9cac475d967f7657d6f810a1e0f0d84b88d7de916
 DIST rclone-1.52.1.tar.gz 20029046 BLAKE2B 
0dc7deebf1d362c1b7ad466991c3fc481c62d4c5803e5fa768dbe09adecfc79c2af9dcc19e7621542b464325b03be1390eff54d165c8c899c48adfac63b6cd7a
 SHA512 
bbd305074071986cf6fb8146c634e35c28e1ea8ce2ce95507c55b95cb19eb3b1453dfb11e365bef5948978328d91df44b936b866c49db26149a17f5ca451ba15
+DIST rclone-1.52.2.tar.gz 19515310 BLAKE2B 
50ba7085d8994f7faf9e723d5a14ef5db0ce1dfdf9ab11394c26e9c8bb20dd62f0a20cd7925f3fc5b870a4eadb7ea7323dea1d0793a51b7c58b10e37676e3581
 SHA512 
f49f0dcf8bfa105b01b35921daa655a6c1161f6505e2299f027a4059d196adcc673038b1718320e6f0b8bb053fad8d2de7714f66fa245dd90ea0a791e848a418

diff --git a/net-misc/rclone/rclone-1.52.2.ebuild 
b/net-misc/rclone/rclone-1.52.2.ebuild
new file mode 100644
index 00000000000..18755cd5a7e
--- /dev/null
+++ b/net-misc/rclone/rclone-1.52.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+else
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+       SRC_URI="https://github.com/rclone/rclone/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+DESCRIPTION="A program to sync files to and from various cloud storage 
providers"
+HOMEPAGE="https://rclone.org/";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+src_compile() {
+               go build -mod=vendor . || die "compile failed"
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       dodoc README.md
+
+       ./rclone genautocomplete bash ${PN}.bash || die
+       newbashcomp ${PN}.bash ${PN}
+
+       ./rclone genautocomplete zsh ${PN}.zsh || die
+       insinto /usr/share/zsh/site-functions
+       newins ${PN}.zsh _${PN}
+}

Reply via email to