Date: Monday, October 5, 2020 @ 21:34:25 Author: kpcyrd Revision: 719135
archrelease: copy trunk to community-x86_64 Added: doctl/repos/community-x86_64/PKGBUILD (from rev 719134, doctl/trunk/PKGBUILD) Deleted: doctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-05 21:33:44 UTC (rev 719134) +++ PKGBUILD 2020-10-05 21:34:25 UTC (rev 719135) @@ -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.46.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=('32f616ac9836736201cb4367d509e23caba2e74e2414847f55cdf0db16ec08b8b587ea4becaa71884bb5e924dce17b008c77a4e0ed0990b504d937bdd0de36f3') -b2sums=('9802ccfc9979532882082869e525b44f6a8bef7f7418e7176085e6a0758fb493c0a9ab5778891419af152b4f4ad84640405d95c25918fb94f05169f360d4def5') - -build() { - cd ${pkgname}-${pkgver} - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -ldflags "-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 719134, doctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-05 21:34:25 UTC (rev 719135) @@ -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.47.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=('90b58d0aa92f64cae8c568af6b532453149ba7ed37e7449516efd96f79fb30f03ef962678b169765d643676bd09ce4418af7bdd37b629d6462a0322c3c42277b') +b2sums=('652b918c669277e7a183dcfa25df9566ec8ca3bb246f5039bd6acc91bf551d5aea2bcdb2d9e96c1b9a2d7f4fe47987e16613008d101ccfe7613ce092b2d0d2f7') + +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: