[arch-commits] Commit in rclone/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Jan 25 15:16:48 UTC 2019
Date: Friday, January 25, 2019 @ 15:16:47
Author: jelle
Revision: 427855
archrelease: copy trunk to community-x86_64
Added:
rclone/repos/community-x86_64/PKGBUILD
(from rev 427854, rclone/trunk/PKGBUILD)
Deleted:
rclone/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-25 15:16:35 UTC (rev 427854)
+++ PKGBUILD 2019-01-25 15:16:47 UTC (rev 427855)
@@ -1,53 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=rclone
-pkgver=1.45
-pkgrel=1
-pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
-arch=('x86_64')
-url="http://rclone.org/"
-license=('MIT')
-depends=('glibc')
-makedepends=('python2' 'pandoc' 'go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ncw/rclone/archive/v$pkgver.tar.gz")
-sha512sums=('348dbd6a069f736219b7f925b6aa5234a4d70724ee5bfdb56067241063be36c44a091a37acb3285627803fa013329a6ef804aab4c0070ddaf322c5324b9e2a5a')
-
-prepare() {
- cd rclone-$pkgver
-
- sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
-
- mkdir -p .gopath/src/github.com/ncw
- ln -sf "$PWD" .gopath/src/github.com/ncw/rclone
- export GOPATH="$PWD/.gopath"
-
- go get github.com/ncw/rclone
-}
-
-build() {
- cd rclone-$pkgver/.gopath/src/github.com/ncw/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/ncw/rclone
- make TAG=v$pkgver test || warning "Tests failed"
-}
-
-package() {
- cd rclone-$pkgver/.gopath/src/github.com/ncw/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 427854, rclone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-25 15:16:47 UTC (rev 427855)
@@ -0,0 +1,53 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=rclone
+pkgver=1.45
+pkgrel=2
+pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
+arch=('x86_64')
+url="http://rclone.org/"
+license=('MIT')
+depends=('glibc')
+makedepends=('python2' 'pandoc' 'go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ncw/rclone/archive/v$pkgver.tar.gz")
+sha512sums=('348dbd6a069f736219b7f925b6aa5234a4d70724ee5bfdb56067241063be36c44a091a37acb3285627803fa013329a6ef804aab4c0070ddaf322c5324b9e2a5a')
+
+prepare() {
+ cd rclone-$pkgver
+
+ sed -i "1s/python$/&2/" bin/make_manual.py bin/make_backend_docs.py
+
+ mkdir -p .gopath/src/github.com/ncw
+ ln -sf "$PWD" .gopath/src/github.com/ncw/rclone
+ export GOPATH="$PWD/.gopath"
+
+ go get github.com/ncw/rclone
+}
+
+build() {
+ cd rclone-$pkgver/.gopath/src/github.com/ncw/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/ncw/rclone
+ make TAG=v$pkgver test || warning "Tests failed"
+}
+
+package() {
+ cd rclone-$pkgver/.gopath/src/github.com/ncw/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