[arch-commits] Commit in rclone/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Nov 17 05:30:28 UTC 2016


    Date: Thursday, November 17, 2016 @ 05:30:27
  Author: felixonmars
Revision: 196083

upgpkg: rclone 1.34-1

Modified:
  rclone/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-11-17 03:21:38 UTC (rev 196082)
+++ PKGBUILD	2016-11-17 05:30:27 UTC (rev 196083)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=rclone
-pkgver=1.33
+pkgver=1.34
 pkgrel=1
 pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
 arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@
 prepare() {
   cd rclone
 
-  sed -i "1s/python$/&2/" make_manual.py
+  sed -i "1s/python$/&2/" bin/make_manual.py
 
   mkdir -p .gopath/src/github.com/ncw
   ln -sf "$PWD" .gopath/src/github.com/ncw/rclone
@@ -35,6 +35,9 @@
 
 check() {
   cd rclone
+
+  mkdir -p "$GOPATH/src/_/build/rclone/src"
+  ln -s "$srcdir/rclone" "$GOPATH/src/_/build/rclone/src/rclone"
   make test || warning "Tests failed"
 }
 



More information about the arch-commits mailing list