[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Oct 4 06:29:45 UTC 2019
Date: Friday, October 4, 2019 @ 06:29:44
Author: felixonmars
Revision: 512685
archrelease: copy trunk to community-x86_64
Added:
rclone/repos/community-x86_64/PKGBUILD
(from rev 512684, rclone/trunk/PKGBUILD)
Deleted:
rclone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 06:29:41 UTC (rev 512684)
+++ PKGBUILD 2019-10-04 06:29:44 UTC (rev 512685)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=rclone
-pkgver=1.49.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')
-makedepends=('python2' 'pandoc' 'go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('88f7f1f74c7a880df78aff87c9679faac8a3dcdd6b48466788a9594041aeb92bd2482f115ff6c53a2e82855c0bff810149af977b717e7de8319f713ac7a39f23')
-
-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 512684, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-04 06:29:44 UTC (rev 512685)
@@ -0,0 +1,53 @@
+# 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
+}
More information about the arch-commits
mailing list