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

Jelle van der Waa jelle at gemini.archlinux.org
Wed Apr 27 15:48:16 UTC 2022


    Date: Wednesday, April 27, 2022 @ 15:48:16
  Author: jelle
Revision: 1191214

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-27 15:48:09 UTC (rev 1191213)
+++ PKGBUILD	2022-04-27 15:48:16 UTC (rev 1191214)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=rclone
-pkgver=1.58.0
-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' 'fuse2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('c58defb82ff8d99492ece930a7c768a0db3046070e25e7b1e8caeba23bb50cf22b2a5851943bec444a337589b442e6ac5d465681bda63cdd45c5588dc2fcff84')
-options=(!lto)
-
-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="/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"
-  PATH="/build/go/bin:$PATH" 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 1191213, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-27 15:48:16 UTC (rev 1191214)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=rclone
+pkgver=1.58.0
+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' 'fuse2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
+sha512sums=('c58defb82ff8d99492ece930a7c768a0db3046070e25e7b1e8caeba23bb50cf22b2a5851943bec444a337589b442e6ac5d465681bda63cdd45c5588dc2fcff84')
+options=(!lto)
+
+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="/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"
+  PATH="/build/go/bin:$PATH" 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