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

Morten Linderud foxboron at archlinux.org
Sat May 15 10:33:11 UTC 2021


    Date: Saturday, May 15, 2021 @ 10:33:10
  Author: foxboron
Revision: 934607

upgpkg: rclone 1.55.1-1 - The build system is veryvery terrible

Modified:
  rclone/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 09:44:02 UTC (rev 934606)
+++ PKGBUILD	2021-05-15 10:33:10 UTC (rev 934607)
@@ -2,7 +2,7 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=rclone
-pkgver=1.54.1
+pkgver=1.55.1
 pkgrel=1
 pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
 arch=('x86_64')
@@ -10,9 +10,9 @@
 license=('MIT')
 depends=('glibc')
 optdepends=('fuse2: for rclone mount')
-makedepends=('python' 'pandoc' 'go' 'git')
+makedepends=('python' 'pandoc' 'go' 'git' 'fuse2')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('fd65e202977b989d60660103f15de801ddad57814443aef37846737dd5a0977d56a403b7f26b703452f50bf66170ba904b058d7c2ce6542482bc1d265163ca3b')
+sha512sums=('be8847d062f22ffbd57ae42bf2c36f32a29f5fc652051c7090232530a52e38edad39cc29679a522fcb55df783c304b6dcd59b5b45a528686a11bca67676128eb')
 
 prepare() {
   cd "rclone-$pkgver"
@@ -21,20 +21,18 @@
 
 build() {
   cd "rclone-$pkgver"
-  
   export GOFLAGS="-buildmode=pie -trimpath"
   export CGO_LDFLAGS="${LDFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CPPFLAGS="${CPPFLAGS}"
-
-  PATH=".:$PATH" make TAG=v$pkgver rclone rclone.1 MANUAL.html MANUAL.txt
- ./rclone genautocomplete bash rclone.bash_completion
- ./rclone genautocomplete zsh rclone.zsh_completion
+  PATH="/build/go/bin:$PATH" make TAG=v$pkgver rclone rclone.1 || true
+  PATH="/build/go/bin:$PATH" rclone genautocomplete bash rclone.bash_completion
+  PATH="/build/go/bin:$PATH" rclone genautocomplete zsh rclone.zsh_completion
 }
 
 check() {
   cd "rclone-$pkgver"
-  make TAG=v$pkgver test
+  PATH="/build/go/bin:$PATH" make TAG=v$pkgver test
 }
 
 package() {



More information about the arch-commits mailing list