diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-23 04:19:44 +0000 |
commit | c5283d322accc6097afec74eab24550829788bab (patch) | |
tree | b99ce668128d82a026eaa31461643f9173f9b77b /net-misc/rclone | |
parent | 5510d9d7d1c93c2ea71a2bd6f0666168808d5dd6 (diff) |
gentoo resync : 23.03.2018
Diffstat (limited to 'net-misc/rclone')
-rw-r--r-- | net-misc/rclone/Manifest | 4 | ||||
-rw-r--r-- | net-misc/rclone/rclone-1.39.ebuild | 17 | ||||
-rw-r--r-- | net-misc/rclone/rclone-9999.ebuild | 11 |
3 files changed, 24 insertions, 8 deletions
diff --git a/net-misc/rclone/Manifest b/net-misc/rclone/Manifest index 56ac1028cede..c0864f302af1 100644 --- a/net-misc/rclone/Manifest +++ b/net-misc/rclone/Manifest @@ -1,4 +1,4 @@ DIST rclone-1.39.tar.gz 38015559 BLAKE2B 534bd0be87e7c8291bfe3acdaff12e9acfddeb42f08067d413184a688b5c0cdfcde78abff3551d81cd2e692a020386116f03842c8390852b2137c2f8342e43f2 SHA512 6e5e5f5e06510f36185d165986cbd3ed994d3cbf97055b4dea37c78af932f89ab8c89249006b829aad38ba43c77ff46f254ba56bcfbae7deca1ebcea555ad884 -EBUILD rclone-1.39.ebuild 612 BLAKE2B 0f2330ce6a284c3d019a2d8f0e9141cb61834b87a80d5f82d0ba77c1b329f304034eec1fa01d2460adc378ccefb55d9929fa29533b5ba1ac770b38c78ce88e9b SHA512 ff5ef20f5ca7fcbf6988576a9b32fc51ef18deceb7bb35cbb0b63d555ad426fa49c920dfe67bfa91e2f660642f008fef6652bb31ddd25f65dbf1644f610556cf -EBUILD rclone-9999.ebuild 649 BLAKE2B 877736273296cc277311a8e8765154db68db3934aac0a6518ed52c71e4d5f986634aa7e08d490d0331162fea7c80a028b2f47adb54ddae8563a69be04f5d923f SHA512 a1e84507ede33b5c53cce142c3f01b3ec8e907c1d5f54757734d0bc4bdf56ff8fb7510dd1ab8ae3f142e2f9851ee34cbcce1d1ea3433d0a4c13d51b4ab2e8845 +EBUILD rclone-1.39.ebuild 860 BLAKE2B 353b567052ba7037ef3e5e0087b239a9a1849fc34d25349497083e0eb85bebc16092a27d1efbbd8d0c5b4d21b3ca3a6d7641b7612a5437a430c00f022fa74931 SHA512 2996694034cfb94dcb606a927b41d49e6e21bac5f6f6df1d87d704230dd352df2db12c1e11aa792fafba26776801372d18c7a0da1240482a8a5310f18ce14163 +EBUILD rclone-9999.ebuild 860 BLAKE2B 353b567052ba7037ef3e5e0087b239a9a1849fc34d25349497083e0eb85bebc16092a27d1efbbd8d0c5b4d21b3ca3a6d7641b7612a5437a430c00f022fa74931 SHA512 2996694034cfb94dcb606a927b41d49e6e21bac5f6f6df1d87d704230dd352df2db12c1e11aa792fafba26776801372d18c7a0da1240482a8a5310f18ce14163 MISC metadata.xml 247 BLAKE2B fad006bd63156a3ffcdfe9e4c216b806d3b341fa5b7e8de2608ad51674b482493f7d0fabdeb6010ce0c41aef65a55abe404b8ba5ba7d72f36822b7d96d58182b SHA512 189f876175728dfb474cf2ccb122ebfe48b068cc5fd65a3cfed7dad947dd9ce0fc7c89ce5c0982fdee5262025236b7d5cccf48b55c67c5cd33e84910c28e0b46 diff --git a/net-misc/rclone/rclone-1.39.ebuild b/net-misc/rclone/rclone-1.39.ebuild index ab1b0c69b3d5..2c530609ee7b 100644 --- a/net-misc/rclone/rclone-1.39.ebuild +++ b/net-misc/rclone/rclone-1.39.ebuild @@ -1,10 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 - -inherit golang-build - +inherit golang-build bash-completion-r1 EGO_PN="github.com/ncw/${PN}" if [[ ${PV} == *9999* ]]; then @@ -21,9 +19,20 @@ 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} } diff --git a/net-misc/rclone/rclone-9999.ebuild b/net-misc/rclone/rclone-9999.ebuild index 0c936bdca50e..2c530609ee7b 100644 --- a/net-misc/rclone/rclone-9999.ebuild +++ b/net-misc/rclone/rclone-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit golang-build +inherit golang-build bash-completion-r1 EGO_PN="github.com/ncw/${PN}" if [[ ${PV} == *9999* ]]; then @@ -28,4 +28,11 @@ 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} } |