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

Kpcyrd kpcyrd at archlinux.org
Wed Oct 28 23:25:31 UTC 2020


    Date: Wednesday, October 28, 2020 @ 23:25:31
  Author: kpcyrd
Revision: 736439

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-28 23:25:27 UTC (rev 736438)
+++ PKGBUILD	2020-10-28 23:25:31 UTC (rev 736439)
@@ -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.48.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=('36803d77eccf7cc39d7a8d62cecb6d8e9df868078ab41b18f89a8a9f8c03fb52d955d79207f5b091b127cad82af47df5e17a847227d651d40a52e99241f5f3ef')
-b2sums=('dacad59dd815b185838eaa57ecb58a4789cb9a1f58043cb2650de8322b902681cddfdda6ecffd4b52a2cdbff12c9a1786586083118bd719e19b13d0ad83c1f83')
-
-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 736438, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-28 23:25:31 UTC (rev 736439)
@@ -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.49.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=('80bed319bc7725549b0fab9c090ef6ae1ad966519cf507690ed0b5ad6db22d5441eb94d1804f6b036c78c97070eaa9c2dd8f685f77b2afac7d5da9737483ba3f')
+b2sums=('749dc7c1942a6dc25ed98994b7189d5d29b98cd1cd939d98f66e790805147ae45fcc21e914c02256cd07e0b1fbedb1bfd76a6375458a21e1f12de05dc3b65b2e')
+
+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