[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Mon Jul 13 18:43:17 UTC 2020


    Date: Monday, July 13, 2020 @ 18:43:17
  Author: foxboron
Revision: 663524

archrelease: copy trunk to community-x86_64

Added:
  rclone/repos/community-x86_64/PKGBUILD
    (from rev 663523, rclone/trunk/PKGBUILD)
Deleted:
  rclone/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  109 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 56 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-13 18:43:10 UTC (rev 663523)
+++ PKGBUILD	2020-07-13 18:43:17 UTC (rev 663524)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=rclone
-pkgver=1.52.2
-pkgrel=1
-pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
-arch=('x86_64')
-url="https://rclone.org/"
-license=('MIT')
-depends=('glibc')
-optdepends=('fuse2: for rclone mount')
-makedepends=('python' 'pandoc' 'go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('f49f0dcf8bfa105b01b35921daa655a6c1161f6505e2299f027a4059d196adcc673038b1718320e6f0b8bb053fad8d2de7714f66fa245dd90ea0a791e848a418')
-
-prepare() {
-  cd "rclone-$pkgver"
-  sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
-}
-
-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
-}
-
-check() {
-  cd "rclone-$pkgver"
-  make TAG=v$pkgver test
-}
-
-package() {
-  cd "rclone-$pkgver"
-
-  install -Dm755 rclone "$pkgdir"/usr/bin/rclone
-
-  install -Dm644 rclone.bash_completion "$pkgdir"/usr/share/bash-completion/completions/rclone
-  install -Dm644 rclone.zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_rclone
-
-  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
-}

Copied: rclone/repos/community-x86_64/PKGBUILD (from rev 663523, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-13 18:43:17 UTC (rev 663524)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=rclone
+pkgver=1.52.2
+pkgrel=2
+pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
+arch=('x86_64')
+url="https://rclone.org/"
+license=('MIT')
+depends=('glibc')
+optdepends=('fuse2: for rclone mount')
+makedepends=('python' 'pandoc' 'go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz"
+		"repro.patch::https://patch-diff.githubusercontent.com/raw/rclone/rclone/pull/4433.patch")
+sha512sums=('f49f0dcf8bfa105b01b35921daa655a6c1161f6505e2299f027a4059d196adcc673038b1718320e6f0b8bb053fad8d2de7714f66fa245dd90ea0a791e848a418'
+            'c547393e033828a7c02f49e1ba826a21d4dffd5da881415ed79cf636643d15e651c6a44afacf842f6bb26655f1116b1b86b69a33743313b0e4b157127fa0d4ed')
+
+prepare() {
+  cd "rclone-$pkgver"
+  sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
+  patch -Np1 < "$srcdir/repro.patch"
+}
+
+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
+}
+
+check() {
+  cd "rclone-$pkgver"
+  make TAG=v$pkgver test
+}
+
+package() {
+  cd "rclone-$pkgver"
+
+  install -Dm755 rclone "$pkgdir"/usr/bin/rclone
+
+  install -Dm644 rclone.bash_completion "$pkgdir"/usr/share/bash-completion/completions/rclone
+  install -Dm644 rclone.zsh_completion "$pkgdir"/usr/share/zsh/site-functions/_rclone
+
+  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
+}


More information about the arch-commits mailing list