Date: Tuesday, September 27, 2022 @ 21:17:05 Author: kpcyrd Revision: 1313304
archrelease: copy trunk to community-x86_64 Added: doctl/repos/community-x86_64/PKGBUILD (from rev 1313302, doctl/trunk/PKGBUILD) Deleted: doctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-27 21:17:00 UTC (rev 1313303) +++ PKGBUILD 2022-09-27 21:17:05 UTC (rev 1313304) @@ -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.81.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=('e978c24f1bcdc573d640d720bf4601e1bda6b6a1b2025abf2c6a04a574279c918dc02e116fece94b68bdfc539c5d4a8bfc2c3fc73c9a6533e8413c0af50ce81d') -b2sums=('1b6f5066be245e5fbb7a694e6c2f09bb4ed86992757d60d3877ca5aa603cc35cb313dd934ebfa141905e195c2178d75d0cf10e6a58f57c7c48c78cb86e156c05') - -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 1313302, doctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-27 21:17:05 UTC (rev 1313304) @@ -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.82.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=('8c7eb9f6ded72325e38c6675e67b04ce49df49188a14154d452707b350c232620231a04d1c31b9ab40ec7bcddbb2c985770097b40c896502e41cfa71a23776c5') +b2sums=('fe0e9770974e1b08404a74c9c34626625a697640eb4680b83c6bc8b21e938cc760f5e3a439647b0079175f2e0cb02892f70e3e23747b316855ab634b6da5c272') + +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: