mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/rclone to 1.55.1-1
This commit is contained in:
parent
33bc5ade14
commit
26b1a348f3
1 changed files with 7 additions and 9 deletions
|
@ -6,7 +6,7 @@
|
|||
# - remove rclone.1 MANUAL.html and MANUAL.txt targets from make in build()
|
||||
|
||||
pkgname=rclone
|
||||
pkgver=1.54.1
|
||||
pkgver=1.55.1
|
||||
pkgrel=1
|
||||
pkgdesc="Sync files to and from Google Drive, S3, Swift, Cloudfiles, Dropbox and Google Cloud Storage"
|
||||
arch=('x86_64')
|
||||
|
@ -14,9 +14,9 @@ url="https://rclone.org/"
|
|||
license=('MIT')
|
||||
depends=('glibc')
|
||||
optdepends=('fuse2: for rclone mount')
|
||||
makedepends=('python' 'go' 'git')
|
||||
makedepends=('python' 'go' 'git' 'fuse2')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/rclone/rclone/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('fd65e202977b989d60660103f15de801ddad57814443aef37846737dd5a0977d56a403b7f26b703452f50bf66170ba904b058d7c2ce6542482bc1d265163ca3b')
|
||||
sha512sums=('be8847d062f22ffbd57ae42bf2c36f32a29f5fc652051c7090232530a52e38edad39cc29679a522fcb55df783c304b6dcd59b5b45a528686a11bca67676128eb')
|
||||
|
||||
prepare() {
|
||||
cd "rclone-$pkgver"
|
||||
|
@ -25,20 +25,18 @@ prepare() {
|
|||
|
||||
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 genautocomplete bash rclone.bash_completion
|
||||
./rclone genautocomplete zsh rclone.zsh_completion
|
||||
PATH="/build/go/bin:$PATH" make TAG=v$pkgver rclone || 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"
|
||||
make TAG=v$pkgver test
|
||||
PATH="/build/go/bin:$PATH" make TAG=v$pkgver test
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
Loading…
Reference in a new issue