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

Kpcyrd kpcyrd at gemini.archlinux.org
Mon Nov 29 22:20:01 UTC 2021


    Date: Monday, November 29, 2021 @ 22:20:01
  Author: kpcyrd
Revision: 1057656

archrelease: copy trunk to community-x86_64

Added:
  vultr-cli/repos/community-x86_64/PKGBUILD
    (from rev 1057653, vultr-cli/trunk/PKGBUILD)
Deleted:
  vultr-cli/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-29 22:20:00 UTC (rev 1057655)
+++ PKGBUILD	2021-11-29 22:20:01 UTC (rev 1057656)
@@ -1,41 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=vultr-cli
-pkgver=2.11.0
-pkgrel=1
-pkgdesc='Official command line tool for Vultr services'
-url='https://github.com/vultr/vultr-cli'
-arch=('x86_64')
-license=('Apache')
-makedepends=('go')
-source=(https://github.com/vultr/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('45bf4c9693eda2c37e2c2fa5e9239535237e56205a1e0a5afeace37f96d7b595495a270e3f18c0dbfb92cb63e62fae957ea6c08808e7354fc66309d2ed1bba95')
-b2sums=('1c35f7c016b3b07ddf0101a49fe84bed407694f6108e4208b7ce875a4dbd69f7049e472c7124da2ba35228ded7c2df08425665ec8154a966447a141c6dfcc5fa')
-
-build() {
-  cd ${pkgname}-${pkgver}
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
-    .
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm 755 vultr-cli -t "${pkgdir}/usr/bin"
-
-  install -d "${pkgdir}/usr/share/bash-completion/completions" \
-             "${pkgdir}/usr/share/zsh/site-functions" \
-             "${pkgdir}/usr/share/fish/vendor_completions.d"
-
-  # workaround, see https://github.com/vultr/vultr-cli/issues/92#issuecomment-877722219
-  export VULTR_API_KEY=x
-  ./vultr-cli completion bash > "${pkgdir}/usr/share/bash-completion/completions/vultr-cli"
-  ./vultr-cli completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_vultr-cli"
-  ./vultr-cli completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/vultr-cli.fish"
-}
-
-# vim: ts=2 sw=2 et:

Copied: vultr-cli/repos/community-x86_64/PKGBUILD (from rev 1057653, vultr-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-29 22:20:01 UTC (rev 1057656)
@@ -0,0 +1,41 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=vultr-cli
+pkgver=2.11.1
+pkgrel=1
+pkgdesc='Official command line tool for Vultr services'
+url='https://github.com/vultr/vultr-cli'
+arch=('x86_64')
+license=('Apache')
+makedepends=('go')
+source=(https://github.com/vultr/${pkgname}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('806deb103c63707bd7421a9b13998217cbb2d51df330e25210a9c4db3a6546b34353819ed9a9374a2580bfed20ad71473fff70a2bb6835e6729c5844dac7b880')
+b2sums=('46a4ffc0403edf90a3c07db84792adba725a8e799ea856cc21fa2bf8112564e82932ac0d2444dc35162c0494a4706017fde283eea8ef7bf76fe8188a139e5dc9')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \
+    .
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm 755 vultr-cli -t "${pkgdir}/usr/bin"
+
+  install -d "${pkgdir}/usr/share/bash-completion/completions" \
+             "${pkgdir}/usr/share/zsh/site-functions" \
+             "${pkgdir}/usr/share/fish/vendor_completions.d"
+
+  # workaround, see https://github.com/vultr/vultr-cli/issues/92#issuecomment-877722219
+  export VULTR_API_KEY=x
+  ./vultr-cli completion bash > "${pkgdir}/usr/share/bash-completion/completions/vultr-cli"
+  ./vultr-cli completion zsh > "${pkgdir}/usr/share/zsh/site-functions/_vultr-cli"
+  ./vultr-cli completion fish > "${pkgdir}/usr/share/fish/vendor_completions.d/vultr-cli.fish"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list