[arch-commits] Commit in doctl/repos/community-x86_64 (PKGBUILD PKGBUILD)

Kpcyrd kpcyrd at gemini.archlinux.org
Tue Apr 26 18:32:37 UTC 2022


    Date: Tuesday, April 26, 2022 @ 18:32:37
  Author: kpcyrd
Revision: 1191048

archrelease: copy trunk to community-x86_64

Added:
  doctl/repos/community-x86_64/PKGBUILD
    (from rev 1191047, doctl/trunk/PKGBUILD)
Deleted:
  doctl/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 41 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-26 18:32:18 UTC (rev 1191047)
+++ PKGBUILD	2022-04-26 18:32:37 UTC (rev 1191048)
@@ -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.73.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=('10be42a7c9f246ce4c0653271d416e5d86f04c7c63eb3353fad1942e3afef6f8e7863c44f991df84700840cbef3394ca3407ed5946a354a8b7fa54d694483d05')
-b2sums=('54d2eb967766e805afcb68aaee295da7c4a6f4e7364e9dd76d9b17407a75cc4d0f6b5620470e04aa6695d96287ca60e6280cfde0da3e6b192a2415fa93393dea')
-
-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 1191047, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-26 18:32:37 UTC (rev 1191048)
@@ -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.73.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=('c8993682e344654ad3a48ed6f0944ab3ee158439d713bb81019c5074a68defb7d97ee3ba9773e42027f12a3526318979383a35cb15374663d746a8cdb6178afe')
+b2sums=('4163edfd121270d1074a6208aaea8d46bbb39304e2375816c9c22f1fe5ae1017b79349e76839ff427d4dabf830b789fe8d5b70713dc8ed71c6d3f580af659ca8')
+
+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