[arch-commits] Commit in vultr-cli/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Fri Nov 5 11:58:49 UTC 2021
Date: Friday, November 5, 2021 @ 11:58:49
Author: kpcyrd
Revision: 1037200
archrelease: copy trunk to community-x86_64
Added:
vultr-cli/repos/community-x86_64/PKGBUILD
(from rev 1037199, 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-05 11:58:28 UTC (rev 1037199)
+++ PKGBUILD 2021-11-05 11:58:49 UTC (rev 1037200)
@@ -1,41 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-
-pkgname=vultr-cli
-pkgver=2.9.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=('6989be03d6ad07538e3471e87928d51ebf2f540245d11d42d5d20bf05f9efcde9fc04acf78bec062a2152a1972953775939934ef52c755a2d73ab426f6ba9d32')
-b2sums=('868bd5ac0505c6f30cc8486647a2d45bdcda0fe50328125b302d77dec4b11a5f0c5630e00425467b4a90614cfc880023fb4cfcf669fe29deae5727a4bb2a6763')
-
-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 1037199, vultr-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-05 11:58:49 UTC (rev 1037200)
@@ -0,0 +1,41 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+
+pkgname=vultr-cli
+pkgver=2.10.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=('85005711972d0ed3c77a6e5bf0e1cd5fd65f2a3ee7aae7a49b9e4aed5e9b95260a0f1433710fbde16eca542e92e0a9f47c1145a86a6c6b6e042aab5d85454585')
+b2sums=('ebf9fd0f99b3b2590f9dada718119c6d9aba12860881a109a5f5de8599f1f4aaa8f88a9ff4e8b44f4eda6ea7757c76c31a482a65a9c3e8490b7c58fd07a7b3d9')
+
+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