# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup ncw rclone 1.41 v
homepage http://rclone.org
maintainers {eborisch @eborisch} openmaintainer
description Rclone is a command line cloud-service sync program
${description} to sync files and directories to and from: Google Drive, \
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.
rmd160 2b95bce1586da3aec5cd8ac267f72be60586e8a8 \
sha256 2dba19ffd56054888c78e7f14d6862eb591f631d7b7f14b177158a38394b5631
set goproj github.com/${github.author}/${github.project}
xinstall -d ${workpath}/src/github.com/${github.author}
move ${workpath}/${name}-${github.version} \
system -W ${worksrcpath} "GOPATH=${workpath} \
${prefix}/bin/go build -v -o ${workpath}/${github.project}"
xinstall ${workpath}/${github.project} ${destroot}${prefix}/bin
set docdir ${prefix}/share/doc/${name}
xinstall -d ${destroot}${docdir}
xinstall -m 644 -W ${worksrcpath} README.md COPYING MANUAL.txt MANUAL.html \
RELEASE.md notes.txt ${destroot}${docdir}
set mandir ${prefix}/share/man/man1
xinstall -d ${destroot}${mandir}
xinstall -m 644 -W ${worksrcpath} rclone.1 ${destroot}${mandir}