Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/vault-client: new aport

From: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
Date: Fri, 7 Jul 2017 12:23:16 +0200

---
 testing/vault-client/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/vault-client/APKBUILD
diff --git a/testing/vault-client/APKBUILD b/testing/vault-client/APKBUILD
new file mode 100644
index 0000000000..650f15b49d
--- /dev/null
+++ b/testing/vault-client/APKBUILD
_at_@ -0,0 +1,36 @@
+# Contributor: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
+# Maintainer: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
+pkgname=vault-client
+pkgver=1.1.2
+pkgrel=0
+pkgdesc="Vault-Client is a command-line interface to HashiCorp's Vault inspired by pass."
+url="https://github.com/adfinis-sygroup/vault-client.git"
+arch="all"
+license="GPL"
+options="!check"
+makedepends="go"
+subpackages="$pkgname-bash-completion:bashcomp:noarch"
+source="vault-client-$pkgver.tar.gz::https://github.com/adfinis-sygroup/vault-client/archive/v$pkgver.tar.gz"
+builddir="$srcdir/vault-client-$pkgver"
+
+build() {
+	cd "$builddir"
+	make build
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir/usr" install
+}
+
+bashcomp() {
+	depends="bash"
+	pkgdesc="Bash completions for $pkgname"
+	install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+
+	mkdir -p "$subpkgdir"/usr/share/bash-completion/completions
+	mv "$pkgdir"/usr/share/bash-completion/completions/* \
+		"$subpkgdir"/usr/share/bash-completion/completions/
+}
+
+sha512sums="8eafd9d75055e584cea3fa1626b92b5a4b23d320e3968545f4a1d925f220eba8048c3fc713a34e71dbf6397d4584df6c854f823bf4dd46ee16dcb034435754ec  vault-client-1.1.2.tar.gz"
-- 
2.13.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jul 07 2017 - 12:23:16 UTC