Date: Monday, September 20, 2021 @ 21:15:39 Author: felixonmars Revision: 1019776
archrelease: copy trunk to community-x86_64 Added: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1019775, 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-09-20 21:15:33 UTC (rev 1019775) +++ PKGBUILD 2021-09-20 21:15:39 UTC (rev 1019776) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=baidupcs-go -pkgver=3.8.2 -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=('8133abcbd47304bdcd9a7231e3394fb31eef632dcb4a80f82176b8a0f1a5581f790a674ad49bba6e454c7a38a0d6805b0b3b191afd8021ceec363af76529c1d4') - -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 1019775, baidupcs-go/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-20 21:15:39 UTC (rev 1019776) @@ -0,0 +1,29 @@ +# 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 +}