vault-bin-arm/PKGBUILD

46 lines
1.9 KiB
Bash
Raw Permalink Normal View History

2017-12-03 00:43:53 +00:00
# Maintainer : Christian Rebischke <Chris.Rebischke@archlinux.org>
# Contributor: Tim Meusel <tim@bastelfreak.de>
2021-05-21 23:30:49 +00:00
# Contributor: Sebastian Rakel <sebastian@devunit.eu>
# Contributor: Justin Kromlinger <hashworks@archlinux.org>
2021-12-10 08:50:03 +00:00
# Contributor: Andrew Tyler <assimilat@gmail.com>
2023-08-27 13:44:28 +00:00
pkgname=vault-bin-arm
2017-12-03 00:43:53 +00:00
pkgdesc='A tool for managing secrets'
2023-08-02 09:23:52 +00:00
pkgver=1.14.1
2023-06-20 21:11:43 +00:00
pkgrel=1
url="https://vaultproject.io/"
2017-12-03 00:43:53 +00:00
license=('MPL')
2023-08-27 13:44:28 +00:00
arch=('armv7h')
2023-02-21 13:11:07 +00:00
depends=('glibc')
2023-08-27 13:44:28 +00:00
makedepends=('go' 'zip')
2022-06-16 14:34:17 +00:00
install=vault.install
backup=('etc/vault.hcl' 'etc/default/vault')
2023-08-02 09:23:52 +00:00
_vault_commit='bf23fe8636b04d554c0fa35a756c75c2f59026c0'
2023-08-27 13:44:28 +00:00
source=(
'vault.service'
2021-12-10 08:50:03 +00:00
'vault.sysusers'
'vault.tmpfiles'
'vault.hcl')
2023-08-27 13:44:28 +00:00
source_armv7h=("https://releases.hashicorp.com/vault/${pkgver}/vault_${pkgver}_linux_arm.zip")
sha512sums=(
'c065843cd13ef736b93611f0e25e3e9e0ef55dbda90f60399d166c4bbb59a12ae7b3d2897f9119f6e598a622fc8d1ef4995412af3bf16c4cf194acb66aed3eaa'
'92616ccf83fa5ca9f8b0d022cf8ceb1f3549e12b66bf21d9f77f3eb26bd75ec1dc36c155948ec987c642067b85fbfc30a9217d6c503d952a402aa5ef63e50928'
'db327aae6f821ee1ea608abdb3fc82aeeae72ce873d78ada44461644add32afd6c0197019427734498bc28ae187b6f741a02196e40a620caab597e5eef32ca7a'
'75d654ec4eadfe983f57951d470fff8b9eb953b42c08e7b6b3a1baaa0721fd7a9d5be37480b0e4f4fd8518f375348bdd8394848f0fb27cb1d425279acb67f693')
2017-12-03 00:43:53 +00:00
2023-08-27 13:44:28 +00:00
sha256sums_armv7h=('b730d3e887a62bb9493d203f6c21b2732d4da8e81fb11ac2761a7452609d0950')
2017-12-03 00:43:53 +00:00
2021-12-10 08:50:03 +00:00
package() {
install -Dm644 "${srcdir}/vault.hcl" "${pkgdir}/etc/vault.hcl"
install -Dm644 "${srcdir}/vault.sysusers" "${pkgdir}/usr/lib/sysusers.d/vault.conf"
install -Dm644 "${srcdir}/vault.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/vault.conf"
2023-08-27 13:44:28 +00:00
install -dm644 "${pkgdir}/etc/default"
touch "${pkgdir}/etc/default/vault"
install -Dm644 "${srcdir}/vault.service" "${pkgdir}/usr/lib/systemd/system/vault.service"
2023-08-27 13:44:28 +00:00
install -Dm755 "${srcdir}/vault" "${pkgdir}/usr/bin/vault"
2017-12-03 00:43:53 +00:00
}