Skip to content
Permalink
Browse files

rclone: update to 1.43.1 and add tab-completion

  • Loading branch information
newtonne authored and pmetzger committed Oct 3, 2018
1 parent 663fd34 commit 3d7b2095ec01bee119fabafadbe8450a83daaa6f
Showing with 14 additions and 6 deletions.
  1. +14 −6 net/rclone/Portfile
@@ -2,8 +2,8 @@

PortSystem 1.0
PortGroup github 1.0
github.setup ncw rclone 1.41 v
revision 0

github.setup ncw rclone 1.43.1 v

homepage http://rclone.org
categories net
@@ -14,11 +14,11 @@ long_description \
Amazon S3, Openstack Swift / Rackspace cloud files / Memset, Memstore, \
Dropbox, Google Cloud Storage, Amazon Drive, Microsoft One Drive, Hubic, \
Backblaze B2, Yandex Disk, SFTP, and the local filesystem.
license mit
license MIT

checksums \
rmd160 2b95bce1586da3aec5cd8ac267f72be60586e8a8 \
sha256 2dba19ffd56054888c78e7f14d6862eb591f631d7b7f14b177158a38394b5631
checksums rmd160 d2e8e08fd82b9307f619442c653686b1e2e7ea38 \
sha256 0fcf9f4f9ee957c493f768983c7138a4104dfdc27672470d38672d51a7a19ce2 \
size 15965138

set goproj github.com/${github.author}/${github.project}

@@ -50,3 +50,11 @@ destroot {
xinstall -m 644 -W ${worksrcpath} rclone.1 ${destroot}${mandir}
}

post-destroot {
set bash_compl_path ${destroot}${prefix}/share/bash-completion/completions
set zsh_compl_path ${destroot}${prefix}/share/zsh/site-functions
set bin_path ${destroot}${prefix}/bin
xinstall -d ${bash_compl_path} ${zsh_compl_path}
system "${bin_path}/rclone genautocomplete bash ${bash_compl_path}/${name}"
system "${bin_path}/rclone genautocomplete zsh ${zsh_compl_path}/_${name}"
}

0 comments on commit 3d7b209

Please sign in to comment.
You can’t perform that action at this time.