Date: Wednesday, January 13, 2021 @ 11:55:21 Author: felixonmars Revision: 820411
archrelease: copy trunk to community-x86_64 Added: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 820410, 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-01-13 11:55:11 UTC (rev 820410) +++ PKGBUILD 2021-01-13 11:55:21 UTC (rev 820411) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=baidupcs-go -pkgver=3.6.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=('e95e6b4ca6d4a96f1cd3962a4b9908e28865bc537a8b5e990bc82cfd9ae62c4a93188075732ba7fc4633dd7598aeba4e9b648c7283159b15102decda64d37366') - -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 820410, baidupcs-go/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-13 11:55:21 UTC (rev 820411) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=baidupcs-go +pkgver=3.7.0 +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=('dc52633799ec37c0ecf87066c9aeea7dc15e10faac333ad7bfee4ccb7031178f466d4bb69e7ca7a7f37a23ce941b152fb99628def21ea254282375d752011c1a') + +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 +}