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

Kpcyrd kpcyrd at archlinux.org
Tue Nov 24 23:44:04 UTC 2020


    Date: Tuesday, November 24, 2020 @ 23:44:04
  Author: kpcyrd
Revision: 761023

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-24 23:43:46 UTC (rev 761022)
+++ PKGBUILD	2020-11-24 23:44:04 UTC (rev 761023)
@@ -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.52.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=('b9db1cd36250f6de89c12c4062f73a10ea24ab425325ef9a40f52528d40194e52803ed104b4552e457f6134890844268d33d50c0d30a9c32bd4d7b83d824ae9a')
-b2sums=('5f09e66a9ced0c4a32ce9832a24bf58ff65bc4a6c5abae649eb3496d686cdb01548bc5963ef05c55516c4a3daca49f4480ec12cf017e1f2240dc4fe92b323b69')
-
-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 761022, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-24 23:44:04 UTC (rev 761023)
@@ -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.53.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=('3d0d513cd7bd264a3873901908940a563c50f5e99bfbf0c9a60ced361d341047dc468030b3d25122c46787e044cb4fdf5b07054f15ae6c0218d3f3bbc2cad885')
+b2sums=('9eb9ae00172731568921b0edb0aa7335c12ed6a822a83bce1cdfdad4dec5977ef7bc683f5905511daaa04b53b6a073e691cefd6802495a66b6a5dcd52314b71d')
+
+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