Date: Monday, March 13, 2023 @ 11:24:17
Author: kpcyrd
Revision: 1419670
archrelease: copy trunk to community-x86_64
Added:
doctl/repos/community-x86_64/PKGBUILD
(from rev 1419669, doctl/trunk/PKGBUILD)
Deleted:
doctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-13 11:24:04 UTC (rev 1419669)
+++ PKGBUILD 2023-03-13 11:24:17 UTC (rev 1419670)
@@ -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.93.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=('172a2241dff4d12946e29fefcefb64e3d883db5fd2ca0afc9d7b769aa2d785a2806ac1faf9c092937f2cd091102ddb57aef4340342a3dea2f76997bfdd07ae76')
-b2sums=('1b3cf28631696ab8dbeef80c018e4231c5d0e3511a579185000cb8788cdd1888d7a639dcb6216137e60157c5538887b17fba4407235a974d83bcf6c45d58d795')
-
-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 1419669,
doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-13 11:24:17 UTC (rev 1419670)
@@ -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.93.1
+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=('4a18670e6ab902c79be9d31110b9a2fd6e64f73765f2107d922fba21f48b030f6a9d237ed184a340fd31ece1da5e3b525f2c0854674e8d2a082b9e496dfd6514')
+b2sums=('b904dc105942ce1b1099589d927ee82ee013ead21fd177c082f138366f914ef507a4d1adf7e68f0014780e289a6ccf4ec50ddec3cea581c04120c5ef651a7b15')
+
+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: