summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kurakin <kuraga333@mail.ru>2020-02-03 22:39:42 +0300
committerJason Zaman <perfinion@gentoo.org>2020-02-16 21:34:08 +0800
commit0b5b790d309af6fff824a4e7c12805d0eddaae3e (patch)
tree1601f856ba3aefd69598eb5158c8b83bfd78c073 /net-misc/rclone
parentnet-misc/rclone-1.50.2 version bump (diff)
downloadgentoo-0b5b790d309af6fff824a4e7c12805d0eddaae3e.tar.gz
gentoo-0b5b790d309af6fff824a4e7c12805d0eddaae3e.tar.bz2
gentoo-0b5b790d309af6fff824a4e7c12805d0eddaae3e.zip
net-misc/rclone-1.51.0 version bump
Closes: https://github.com/gentoo/gentoo/pull/14542 Closes: https://bugs.gentoo.org/708084 Signed-off-by: Alexander Kurakin <kuraga333@mail.ru> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'net-misc/rclone')
-rw-r--r--net-misc/rclone/Manifest1
-rw-r--r--net-misc/rclone/rclone-1.51.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest
index 3fd95c152ea7..dbb5de4c317e 100644
--- a/net-misc/rclone/Manifest
+++ b/net-misc/rclone/Manifest
@@ -3,3 +3,4 @@ DIST rclone-1.47.0.tar.gz 17282254 BLAKE2B 57c4f3576427778db0fdc523d8b95b33db5ce
DIST rclone-1.49.1.tar.gz 18196519 BLAKE2B 22a2f5984f65a64972c40fa845f0b4e5a8d52840ee9dc35463605e3eea399ab01a3b36f1f25a07d5c583829684863b8cbeaf82282e9b59ca994a8fa1d9558ebf SHA512 05b864932fdec7d1bc7185a4e2d33b7bd06b840399f100b1f58806e2ab6f752e4b7cb0f2691cfa92785f45b2f587aebaf7c9e5ab256c2d9b63c262d90ea1e3ac
DIST rclone-1.50.0.tar.gz 18566931 BLAKE2B cfaf983ae972606b8ccc56ba505aec65bd7e6427f0b16f7e6187b079116b47eb3d297a99b505782c2bb5b64a5c8bf4e5b7beaee9dad5718ec952033ceca0945c SHA512 df805dc711ecf60b869ec957d224676643bcb6eac756470d2194338b9cc34e2a657d286d4a4308c743847fc11aa821b106888eb6ab9f04677bc70747c73fc5c1
DIST rclone-1.50.2.tar.gz 18556334 BLAKE2B 4d8f3634928f49a5eae35de4be0cc73339fc35cbd4412b7fd03a2dbf4e45f50524153cd520251d0dd1bca52102511536c7bba0dff207a420e6d84c0ff48827b5 SHA512 30c0088f521132522a5813cf8eb3bdf704c2fefe391ecde3abd3f94969864d7872f095f0f431018b08bdc07f2e867d164311930c5fb51c06bc9581e9067205b2
+DIST rclone-1.51.0.tar.gz 18835242 BLAKE2B 5798a844c893e111e73ae409adcb06fd4291df3c0319bf983f2336ada45a60df253e750397bead55278cbb497c541a63498f695ce03af7b6cc1056f022ad2748 SHA512 b0881e09b75093abe4d31e95425a90513aed4a16d9e2dbf79023c9dc68875b90a1332204879530c450a16ab9cac475d967f7657d6f810a1e0f0d84b88d7de916
diff --git a/net-misc/rclone/rclone-1.51.0.ebuild b/net-misc/rclone/rclone-1.51.0.ebuild
new file mode 100644
index 000000000000..d8704bb08407
--- /dev/null
+++ b/net-misc/rclone/rclone-1.51.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build bash-completion-r1
+EGO_PN="github.com/rclone/${PN}"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64 ~arm ~x86"
+ EGIT_COMMIT="v${PV}"
+ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="A program to sync files to and from various cloud storage providers"
+HOMEPAGE="https://rclone.org/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_install() {
+ dobin ${PN}
+ doman src/${EGO_PN}/${PN}.1
+ dodoc src/${EGO_PN}/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}
+}