[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Thu Nov 19 21:07:47 UTC 2020
Date: Thursday, November 19, 2020 @ 21:07:47
Author: foxboron
Revision: 757777
archrelease: copy trunk to community-x86_64
Added:
rclone/repos/community-x86_64/PKGBUILD
(from rev 757776, rclone/trunk/PKGBUILD)
Deleted:
rclone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-19 21:07:40 UTC (rev 757776)
+++ PKGBUILD 2020-11-19 21:07:47 UTC (rev 757777)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=rclone
-pkgver=1.53.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=('7817b02f592eb38f9ced34bad8b15693518c2d340295075797489341e5b06ed9e35565269105784d0d8a6089db108a0934289d8657c038dd07a1fac4410b7d4d')
-
-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 757776, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-19 21:07:47 UTC (rev 757777)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=rclone
+pkgver=1.53.3
+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=('17d0ccf1165bc9d36e2aae5729dded2ccc6ecddd8a9902f1ca6b2bb26628afa99f58da5521ec5a1ebb27e8ea04cb736f88279603eeaeb0740cfe633cbe9de083')
+
+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
+}
More information about the arch-commits
mailing list