Date: Thursday, May 18, 2023 @ 11:04:11 Author: kpcyrd Revision: 1463058
archrelease: copy trunk to community-x86_64 Added: doctl/repos/community-x86_64/PKGBUILD (from rev 1463057, doctl/trunk/PKGBUILD) Deleted: doctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 11:04:03 UTC (rev 1463057) +++ PKGBUILD 2023-05-18 11:04:11 UTC (rev 1463058) @@ -1,42 +0,0 @@ -# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: NOGISAKA Sadata <ngsk...@gmail.com> -# Contributor: Bennett Piater <bennett at piater dot name> - -pkgname=doctl -pkgver=1.94.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=('840909091e65bce8b8f0d205e66b7170e806514353c8a39b6ff8ef95cfffeeda9cddf7c1b8233671e43000fbb6f15f89b55c85f77742fbd69ae3eadda9cde258') -b2sums=('25fac38c8cf4b30b209c092749b464de0bba26e54a12221685f44a42850ade40ff1acfb7fec97a2b00c8b0bef1de1f77ab607712e8dcea8829cff86e9413c080') - -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 1463057, doctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 11:04:11 UTC (rev 1463058) @@ -0,0 +1,42 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: NOGISAKA Sadata <ngsk...@gmail.com> +# Contributor: Bennett Piater <bennett at piater dot name> + +pkgname=doctl +pkgver=1.95.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=('2b1d4d6c2e63d880cfb6c8ffa712c510ea598b2b0d1c085e6ab32fe3faf9f7a8fe40116cb30e56d0d8f88ce28ce46c0f8412d06cff90722f422db02fe3a4ac45') +b2sums=('fd7f6e7fb650b1b265672dab2d4762cffbd44c5deadcf4a3e544ac1bcc33fdd5ac0d6f4c3a8f3a2f387946d4340c84ea692d18d6b095df7d375e1d9bd97af245') + +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: