Date: Monday, November 29, 2021 @ 19:06:31 Author: felixonmars Revision: 1057588
archrelease: copy trunk to community-x86_64 Added: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1057587, baidupcs-go/trunk/PKGBUILD) Deleted: baidupcs-go/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-29 19:06:20 UTC (rev 1057587) +++ PKGBUILD 2021-11-29 19:06:31 UTC (rev 1057588) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=baidupcs-go -pkgver=3.8.3 -pkgrel=1 -pkgdesc="Terminal utility for Baidu Network Disk" -arch=('x86_64') -url="https://github.com/qjfoidnh/BaiduPCS-Go" -license=('Apache') -depends=('glibc') -makedepends=('go' 'git') -conflicts=("baidupcs") -provides=("baidupcs") -source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('f1dddf73eacc155a39a042bd19ab204dbba414c3f557eef212ff0e7797183c4ba920955133305bf3f0c2abbea612f42d46d7e2f84641d229dc055505e48cef6d') - -build() { - cd BaiduPCS-Go-$pkgver - export GOFLAGS="-buildmode=pie -trimpath" - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - go build -o baidupcs-go -} - -package() { - cd BaiduPCS-Go-$pkgver - install -Dm755 baidupcs-go "$pkgdir"/usr/bin/baidupcs -} Copied: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1057587, baidupcs-go/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-29 19:06:31 UTC (rev 1057588) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=baidupcs-go +pkgver=3.8.4 +pkgrel=1 +pkgdesc="Terminal utility for Baidu Network Disk" +arch=('x86_64') +url="https://github.com/qjfoidnh/BaiduPCS-Go" +license=('Apache') +depends=('glibc') +makedepends=('go' 'git') +conflicts=("baidupcs") +provides=("baidupcs") +source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('b8d5d7a91f3df620f241515c2703f6d41b64959f4fb29abf9daf89b6c1338dd00729561f597275a86b28b29d6c978bc446293b4aebef30f5eceb015e96c625db') + +build() { + cd BaiduPCS-Go-$pkgver + export GOFLAGS="-buildmode=pie -trimpath" + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + go build -o baidupcs-go +} + +package() { + cd BaiduPCS-Go-$pkgver + install -Dm755 baidupcs-go "$pkgdir"/usr/bin/baidupcs +}