Date: Wednesday, May 4, 2022 @ 08:17:10 Author: felixonmars Revision: 1192648
archrelease: copy trunk to community-x86_64 Added: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 1192647, baidupcs-go/trunk/PKGBUILD) Deleted: baidupcs-go/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-04 08:16:59 UTC (rev 1192647) +++ PKGBUILD 2022-05-04 08:17:10 UTC (rev 1192648) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=baidupcs-go -pkgver=3.8.6 -pkgrel=2 -pkgdesc="Terminal utility for Baidu Network Disk" -arch=('x86_64') -url="https://github.com/qjfoidnh/BaiduPCS-Go" -license=('Apache') -options=('!lto') -depends=('glibc') -makedepends=('go' 'git') -conflicts=("baidupcs") -provides=("baidupcs") -source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('00733c28bab07d66440f23a9a2eb5c7f9a28e0d2421900b9e012f2f72342bf2738a9949f2d5cb4fd3830c7430b6aaee69eed6d0e7132ef0d889095bb8a833e7e') - -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 1192647, baidupcs-go/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-04 08:17:10 UTC (rev 1192648) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=baidupcs-go +pkgver=3.8.7 +pkgrel=1 +pkgdesc="Terminal utility for Baidu Network Disk" +arch=('x86_64') +url="https://github.com/qjfoidnh/BaiduPCS-Go" +license=('Apache') +options=('!lto') +depends=('glibc') +makedepends=('go' 'git') +conflicts=("baidupcs") +provides=("baidupcs") +source=("https://github.com/qjfoidnh/BaiduPCS-Go/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('c2f7b7d08544aa9cdeab39b3f5e620827e8a2fdd0a678aa5394b3872611c4b2846cd405fcecc4838ab3b25ada18ef0ec189cac455f8dd283729842338ce281f7') + +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 +}