Package Details: rclone-git 1.65.0.r31.g8503282a5-1

Git Clone URL: (read-only, click to copy)
Package Base: rclone-git
Description: Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage
Upstream URL:
Keywords: cloud gdrive mega pcloud s3
Licenses: MIT
Conflicts: rclone
Provides: rclone
Submitter: serialoverflow
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 3
Popularity: 0.005484
First Submitted: 2017-02-22 13:27 (UTC)
Last Updated: 2023-12-27 14:37 (UTC)

Dependencies (5)

Required by (21)

Sources (1)

Latest Comments

burger commented on 2021-05-02 02:45 (UTC) (edited on 2021-05-02 02:46 (UTC) by burger)

A recent commit fixed an issue with onedrive, @FabioLolix could you update the sources?

yochananmarqos commented on 2020-11-01 01:01 (UTC)

@FabioLolix: Please update the PKGBUILD for updated Go package guidelines, see the community/rclone PKGBUILD.

L0ric0 commented on 2020-07-21 18:00 (UTC) (edited on 2020-07-21 18:04 (UTC) by L0ric0)

i think as of pandoc is no longer a make dependency

(the manpage is in the repository)

Saren commented on 2017-12-10 17:52 (UTC) (edited on 2017-12-10 17:52 (UTC) by Saren)

Here is the PKGBUILD that works for me, copied from extra/rclone

pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
makedepends=('python2' 'pandoc' 'go-pie')

pkgver() {
    cd "${_pkgname}"
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'

prepare() {
  cd ${_pkgname}

  sed -i "1s/python$/&2/" bin/

  mkdir -p .gopath/src/
  ln -sf "$PWD" .gopath/src/
  export GOPATH="$PWD/.gopath"

  go get

build() {
  cd ${_pkgname}/.gopath/src/

  PATH="$GOPATH/bin:$PATH" make TAG=v$pkgver rclone doc

check() {
  cd ${_pkgname}/.gopath/src/
  make TAG=v$pkgver test || warning "Tests failed"

package() {
  cd ${_pkgname}/.gopath/src/
  make TAG=v$pkgver DESTDIR="$pkgdir" install

  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"

  install -Dm644 rclone.1 "$pkgdir/usr/share/man/man1/rclone.1"
  install -d "$pkgdir/usr/share/doc/$pkgname"
  install -t "$pkgdir/usr/share/doc/$pkgname" -m644 MANUAL.html MANUAL.txt

timofonic commented on 2017-10-27 20:06 (UTC)

Any interest in maintaining this package?

ChlorideCull commented on 2017-08-10 18:27 (UTC)

@serialoverflow: You can use a pkgver() function, see the wiki <> And yes, this fails to build.

prometheus commented on 2017-06-28 16:56 (UTC)

Error when trying to build: go install -v --ldflags "-s -X" go install: no install location for directory /tmp/pkgbuild-0/rclone-git/src/rclone outside GOPATH For more details see: 'go help gopath' make: *** [Makefile:18: rclone] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: the build failed -> Status failed (1): rclone-git

serialoverflow commented on 2017-03-02 20:12 (UTC) (edited on 2017-03-02 21:41 (UTC) by serialoverflow)

it does pull the latest version from git (master branch). that means it is usually even more current than the "latest" package under as far as i know, there is no better way to display the version of git packages. if you know a better one, please share but this seems to be the convention.

bcc commented on 2017-03-02 17:39 (UTC)

can this package just pull the latest git version from github, rather be version controlled? (Its currently out of date too)