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

Kpcyrd kpcyrd at gemini.archlinux.org
Fri Jan 28 11:04:53 UTC 2022


    Date: Friday, January 28, 2022 @ 11:04:53
  Author: kpcyrd
Revision: 1118303

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-28 11:04:40 UTC (rev 1118302)
+++ PKGBUILD	2022-01-28 11:04:53 UTC (rev 1118303)
@@ -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.69.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=('be83a1ad087d5f9e890bfe500f64622de2de7f2f0993ce7ae0e9beeaddb49b21d64085ed63753957a845aad4de93705ff7c31d09d71f76ddc3a0615891678cb1')
-b2sums=('0f2366365b5a656fc3a7d3dd2653677b2741e8a1f4c776bd894cfb925e343aa6e8d082cdd255466a6b756d1b65f15ab911ce901686110d8fc4b163b5a58d7f7f')
-
-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 1118302, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-28 11:04:53 UTC (rev 1118303)
@@ -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.70.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=('6a829f25e374ec406c221f612a713abd1662f4b9df524afac713db6054d695f38a9ea5b326cafe9efd0c78640385a12e59a7d9b78df0fd383286f320d26311eb')
+b2sums=('d8719bfea37e595293b9b6b4bd82c18d346921cc9dee88818eec5bc001868599d68b815eb8fe950ea265a8c0b84c0c1590256f63d32b02929ef13616ee32943b')
+
+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