Date: Monday, March 29, 2021 @ 19:53:44 Author: kpcyrd Revision: 909505
archrelease: copy trunk to community-x86_64 Added: doctl/repos/community-x86_64/PKGBUILD (from rev 909503, doctl/trunk/PKGBUILD) Deleted: doctl/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-29 19:53:41 UTC (rev 909504) +++ PKGBUILD 2021-03-29 19:53:44 UTC (rev 909505) @@ -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.57.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=('0c868c5732a48367a93bf2b884689dbd917ba6690c82516495862546bc31d58d44aab192bd3b3543f951e9fa9b7289e99fbdf828c017af68496b84f1585a5f6b') -b2sums=('17273e9f8f63464aa2ba6c6d48dfabd78b0bdeb7156dc315d1970fb0052710c7a4b37f1d5e2a7a60211f2ab166c0926de438959d853639a8c329ec39b3ee0577') - -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 909503, doctl/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-29 19:53:44 UTC (rev 909505) @@ -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.58.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=('3f5241eaa9395520c84b5af714491e204b14c4fc0a593b9b5b6bcdbcf5cb5b0388cc92f148e13631eb0ccbb90f3fb88fdf576f68bc892452fbb909dd2cf53b8e') +b2sums=('da85b1847576e5355300b380119472cc9e5664e089cda22dc4b626b523d660e928b19744f81f2faac04d59604f831279be971cfbb6e97ae88e0c74f59a367404') + +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: