[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Christian Rebischke
shibumi at gemini.archlinux.org
Sun Oct 3 00:32:42 UTC 2021
Date: Sunday, October 3, 2021 @ 00:32:41
Author: shibumi
Revision: 1027142
archrelease: copy trunk to community-x86_64
Added:
rclone/repos/community-x86_64/PKGBUILD
(from rev 1027141, rclone/trunk/PKGBUILD)
Deleted:
rclone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-03 00:32:35 UTC (rev 1027141)
+++ PKGBUILD 2021-10-03 00:32:41 UTC (rev 1027142)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=rclone
-pkgver=1.56.1
-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=('1b712738ff755daebea34f9ce0dbcabc1ed9e0a939103bdf2779a944a9af235738cbb8ed50daa6a96f593cb3d39b38ce105f1b98d707272aa2e0a76f01b9ac49')
-
-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 1027141, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-03 00:32:41 UTC (rev 1027142)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=rclone
+pkgver=1.56.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' 'fuse2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
+sha512sums=('472bc07192f72a6489a11f710995304789c57356e8170dc912955b3b7d2b29dde5c1522d3fa9a3a40b66a1ed91dcc6dd11cee221f5887e54641eb06296721e5a')
+
+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