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

Kpcyrd kpcyrd at archlinux.org
Fri May 14 16:13:50 UTC 2021


    Date: Friday, May 14, 2021 @ 16:13:50
  Author: kpcyrd
Revision: 934232

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-14 16:13:16 UTC (rev 934231)
+++ PKGBUILD	2021-05-14 16:13:50 UTC (rev 934232)
@@ -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.60.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=('2dd27395d87926bb9d3c759c5324cd72b10fe9541e0a5dbee1fd9925952c5c54e11a873262c6520b79fa9ae8effab434896d4e8e27266d3941940d8d618f191d')
-b2sums=('5b49731f586e96533eb73e8bdfb21b18cbfa4ff9b005818e15ed04e0ba831be5c318997a4512c1b26f3a8b0f85990e04b3f99c0bfc69698f04813ca8a93db2d6')
-
-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 934231, doctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-14 16:13:50 UTC (rev 934232)
@@ -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.61.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=('85330931af1eb2f4251085e16be057c63d54a63781cf09625b4137ab93913614e1491a232533de5761e4f5f25f7fa3e020045fae559e76a9c76a1094069ec8de')
+b2sums=('2f99b409bff7534f1436e120420d9371832aad1fb7f13fdd7eabeba27c26176577c1e3987501c9e509c553b572b6e2dd1df9a186f4fbddc5ec977dbd6d55e5c7')
+
+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