Date: Wednesday, November 18, 2020 @ 20:07:41 Author: kpcyrd Revision: 757170
archrelease: copy trunk to community-x86_64 Added: doctl/repos/community-x86_64/PKGBUILD (from rev 757169, doctl/trunk/PKGBUILD) Deleted: doctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-11-18 20:07:18 UTC (rev 757169) +++ PKGBUILD 2020-11-18 20:07:41 UTC (rev 757170) @@ -1,41 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> -# Contributor: NOGISAKA Sadata <ngsk...@gmail.com> -# Contributor: Bennett Piater <bennett at piater dot name> - -pkgname=doctl -pkgver=1.51.0 -pkgrel=1 -pkgdesc='The official command line interface for the DigitalOcean API' -url='https://github.com/digitalocean/doctl' -arch=('x86_64') -license=('Apache') -depends=('glibc') -makedepends=('go') -source=(https://github.com/digitalocean/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha512sums=('c10621eaa88ca8d3ad7fe981009fd013eb6baf888ddcdba89ba8a71b4fe3a745ca2e1219c078b4969252655e605252a16f6885f19e68de5a9e901281d9a4f3e7') -b2sums=('29621e632f20a0dec97322e2f05b648417e7ba24cb595e6c953ae4ee67b040d2dfeeb85901149a00ef4a2cf3d8a11fe12194ea58d58fd3b846b2da8871754d2c') - -build() { - cd ${pkgname}-${pkgver} - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ - ./cmd/... -} - -package() { - cd ${pkgname}-${pkgver} - install -Dm 755 "${pkgname}" -t "${pkgdir}/usr/bin" - - # setup completions - install -dm 755 "${pkgdir}/usr/share/bash-completion/completions" \ - "${pkgdir}/usr/share/zsh/site-functions" \ - "${pkgdir}/usr/share/fish/vendor_completions.d" - "${pkgdir}/usr/bin/${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" - "${pkgdir}/usr/bin/${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" - "${pkgdir}/usr/bin/${pkgname}" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" -} - -# vim: ts=2 sw=2 et: Copied: doctl/repos/community-x86_64/PKGBUILD (from rev 757169, doctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-11-18 20:07:41 UTC (rev 757170) @@ -0,0 +1,41 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> +# Contributor: NOGISAKA Sadata <ngsk...@gmail.com> +# Contributor: Bennett Piater <bennett at piater dot name> + +pkgname=doctl +pkgver=1.52.0 +pkgrel=1 +pkgdesc='The official command line interface for the DigitalOcean API' +url='https://github.com/digitalocean/doctl' +arch=('x86_64') +license=('Apache') +depends=('glibc') +makedepends=('go') +source=(https://github.com/digitalocean/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('b9db1cd36250f6de89c12c4062f73a10ea24ab425325ef9a40f52528d40194e52803ed104b4552e457f6134890844268d33d50c0d30a9c32bd4d7b83d824ae9a') +b2sums=('5f09e66a9ced0c4a32ce9832a24bf58ff65bc4a6c5abae649eb3496d686cdb01548bc5963ef05c55516c4a3daca49f4480ec12cf017e1f2240dc4fe92b323b69') + +build() { + cd ${pkgname}-${pkgver} + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ + ./cmd/... +} + +package() { + cd ${pkgname}-${pkgver} + install -Dm 755 "${pkgname}" -t "${pkgdir}/usr/bin" + + # setup completions + install -dm 755 "${pkgdir}/usr/share/bash-completion/completions" \ + "${pkgdir}/usr/share/zsh/site-functions" \ + "${pkgdir}/usr/share/fish/vendor_completions.d" + "${pkgdir}/usr/bin/${pkgname}" completion bash > "${pkgdir}/usr/share/bash-completion/completions/${pkgname}" + "${pkgdir}/usr/bin/${pkgname}" completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}" + "${pkgdir}/usr/bin/${pkgname}" completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish" +} + +# vim: ts=2 sw=2 et: