[arch-commits] Commit in doctl/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Wed Dec 8 01:16:51 UTC 2021
Date: Wednesday, December 8, 2021 @ 01:16:51
Author: kpcyrd
Revision: 1065580
archrelease: copy trunk to community-x86_64
Added:
doctl/repos/community-x86_64/PKGBUILD
(from rev 1065579, doctl/trunk/PKGBUILD)
Deleted:
doctl/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-08 01:16:33 UTC (rev 1065579)
+++ PKGBUILD 2021-12-08 01:16:51 UTC (rev 1065580)
@@ -1,41 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: NOGISAKA Sadata <ngsksdt at gmail.com>
-# Contributor: Bennett Piater <bennett at piater dot name>
-
-pkgname=doctl
-pkgver=1.67.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=('b257ebab4d9ae4ba545aa34a90e7481d761f7efc248afa998de24d5942848a55dfa56c52cb1e59c4e451c9e0e034fa83dfbac7ab3b7bf2855d046a5e03f0a960')
-b2sums=('7f7737528c54d75dd81431b928185d910676e2e469c47d44d6cb2d893ba8afe169e4e5018459f4755eaa8e6da7e618c97760940fe6bb758f2c16750283f02f24')
-
-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 1065579, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-08 01:16:51 UTC (rev 1065580)
@@ -0,0 +1,41 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: NOGISAKA Sadata <ngsksdt at gmail.com>
+# Contributor: Bennett Piater <bennett at piater dot name>
+
+pkgname=doctl
+pkgver=1.68.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=('d81799c227c071793af74f78e54d8348782caf158b28e0a12b92adf17b6c78c787a82abbdf3aa340a960f26c929b00f38015725e6e629aad7615096270d19c10')
+b2sums=('e44be00e1b7451e84d3d6dc5a19dc04fcb5dab2c8a5c1923c0c0f99058a1938f9567d63681989e869341957586cdf549842cd45ca82503007039ae989664e8ff')
+
+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:
More information about the arch-commits
mailing list