Date: Wednesday, November 16, 2022 @ 12:52:11
Author: kpcyrd
Revision: 1349088
archrelease: copy trunk to community-x86_64
Added:
doctl/repos/community-x86_64/PKGBUILD
(from rev 1349087, doctl/trunk/PKGBUILD)
Deleted:
doctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-16 12:51:52 UTC (rev 1349087)
+++ PKGBUILD 2022-11-16 12:52:11 UTC (rev 1349088)
@@ -1,42 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: NOGISAKA Sadata <[email protected]>
-# Contributor: Bennett Piater <bennett at piater dot name>
-
-pkgname=doctl
-pkgver=1.85.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=('6351f83fa1ba92397b747a34ccd326d51b7a007d1f682556e9459fe138dae85aed422f7497429e2bc9e332201ee2c03035058dec10d4303d3dc3d42a91120412')
-b2sums=('91dcdce88c07ac9b8fafae3abc9e7d3c76f3637725bbb59bdfe610c0da7e1090d81b50519af78f87a7241051d583da9aa98d010fcbb68396a1ce493a73820098')
-
-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 1349087,
doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-16 12:52:11 UTC (rev 1349088)
@@ -0,0 +1,42 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: NOGISAKA Sadata <[email protected]>
+# Contributor: Bennett Piater <bennett at piater dot name>
+
+pkgname=doctl
+pkgver=1.86.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=('14fc26ac30e2e10205d7869663aa87b747a09aa8589098b6b91db6a358efc3d2b760e31a71ac8da4599db96498a8d03f87fe5bac8f6cb525bb9ed17ec06f7c7b')
+b2sums=('c1f31944db84647cf69badc84a34bf03f71392229a319a5a264f53ef67f14355e8925c2f577b3ba6c681df141aff8ae48fdcd90ea92e11a584a59658ca5b66ef')
+
+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: