Date: Monday, February 8, 2021 @ 12:51:09 Author: felixonmars Revision: 848995
archrelease: copy trunk to community-x86_64 Added: baidupcs-go/repos/community-x86_64/PKGBUILD (from rev 848994, 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-02-08 12:50:56 UTC (rev 848994) +++ PKGBUILD 2021-02-08 12:51:09 UTC (rev 848995) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=baidupcs-go -pkgver=3.7.1 -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=('2baf1baef376a3dedc2d1e432f77cdfac121b2d6128a9fa970929b5b7938541d9939559a04a1bbda8d290ce6eacb7ab626f12ae0ec3b499512777d313c96b32c') - -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 848994, baidupcs-go/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-08 12:51:09 UTC (rev 848995) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=baidupcs-go +pkgver=3.7.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=('b3c92cbd3e406091fd14ffb8663b59d90992dcd705c16a3d3552300acef6f4bb854fa594f9031b757ed65129e16128e2c0c9919595026f101da3b2fdabf30242') + +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 +}