[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 7 20:46:25 UTC 2019
Date: Monday, October 7, 2019 @ 20:46:25
Author: felixonmars
Revision: 514099
archrelease: copy trunk to community-x86_64
Added:
rclone/repos/community-x86_64/PKGBUILD
(from rev 514098, rclone/trunk/PKGBUILD)
Deleted:
rclone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-07 20:46:21 UTC (rev 514098)
+++ PKGBUILD 2019-10-07 20:46:25 UTC (rev 514099)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=rclone
-pkgver=1.49.4
-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')
-makedepends=('python2' 'pandoc' 'go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('9614dc86c753a56f102d1aa7e756361dfaca421b31f9df25cedafeb6d2bf5017ee848270bd86f9f44bedef3d5c8554313be424a9fa3aa951881eaf10157d35ab')
-
-prepare() {
- cd rclone-$pkgver
-
- sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
-
- mkdir -p .gopath/src/github.com/rclone
- ln -sf "$PWD" .gopath/src/github.com/rclone/rclone
- export GOPATH="$PWD/.gopath"
-
- go get github.com/rclone/rclone
-}
-
-build() {
- cd rclone-$pkgver/.gopath/src/github.com/rclone/rclone
-
- PATH="$GOPATH/bin:$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/.gopath/src/github.com/rclone/rclone
- make TAG=v$pkgver test || warning "Tests failed"
-}
-
-package() {
- cd rclone-$pkgver/.gopath/src/github.com/rclone/rclone
- make TAG=v$pkgver DESTDIR="$pkgdir" install
-
- 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 514098, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-07 20:46:25 UTC (rev 514099)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=rclone
+pkgver=1.49.5
+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')
+makedepends=('python2' 'pandoc' 'go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
+sha512sums=('1fe1338eaf69ca0ca9e8705af0e4b9856aa97345b6eb1c2d604d40090da0f37a26550bed4c86c14a0c873d92428a96a0012b48c2d44984fe6dea00b89d946d0d')
+
+prepare() {
+ cd rclone-$pkgver
+
+ sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
+
+ mkdir -p .gopath/src/github.com/rclone
+ ln -sf "$PWD" .gopath/src/github.com/rclone/rclone
+ export GOPATH="$PWD/.gopath"
+
+ go get github.com/rclone/rclone
+}
+
+build() {
+ cd rclone-$pkgver/.gopath/src/github.com/rclone/rclone
+
+ PATH="$GOPATH/bin:$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/.gopath/src/github.com/rclone/rclone
+ make TAG=v$pkgver test || warning "Tests failed"
+}
+
+package() {
+ cd rclone-$pkgver/.gopath/src/github.com/rclone/rclone
+ make TAG=v$pkgver DESTDIR="$pkgdir" install
+
+ 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