mirror of
https://github.com/luzifer-aur/vault-bin.git
synced 2024-12-29 21:11:16 +00:00
upgpkg: vault-bin 1.4.2-1
Splitted package in vault-bin and vault-cli-bin
This commit is contained in:
parent
44dbdccb81
commit
f31f602f0b
2 changed files with 31 additions and 12 deletions
17
.SRCINFO
17
.SRCINFO
|
@ -1,18 +1,13 @@
|
|||
pkgbase = vault-bin
|
||||
pkgdesc = A tool for managing secrets
|
||||
pkgver = 1.4.2
|
||||
pkgrel = 1
|
||||
url = https://vaultproject.io/
|
||||
install = vault.install
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
arch = armv7h
|
||||
arch = aarch64
|
||||
license = MPL
|
||||
depends = glibc
|
||||
conflicts = vault
|
||||
conflicts = vault-git
|
||||
backup = etc/vault.hcl
|
||||
source = vault.tmpfiles
|
||||
source = vault.sysusers
|
||||
source = vault.service
|
||||
|
@ -33,4 +28,16 @@ pkgbase = vault-bin
|
|||
sha256sums_aarch64 = bb198bd161479fe0eee649bc6dd2aa82735009bd4f8c341e0676f9112e2376f7
|
||||
|
||||
pkgname = vault-bin
|
||||
pkgdesc = A tool for managing secrets
|
||||
install = vault.install
|
||||
conflicts = vault
|
||||
conflicts = vault-git
|
||||
conflicts = vault-cli-bin
|
||||
backup = etc/vault.hcl
|
||||
|
||||
pkgname = vault-cli-bin
|
||||
pkgdesc = A tool for managing secrets (CLI Only)
|
||||
conflicts = vault
|
||||
conflicts = vault-git
|
||||
conflicts = vault-bin
|
||||
|
||||
|
|
26
PKGBUILD
26
PKGBUILD
|
@ -1,14 +1,13 @@
|
|||
pkgname='vault-bin'
|
||||
pkgdesc='A tool for managing secrets'
|
||||
pkgver='1.4.2'
|
||||
# Maintainer: Oscar Garcia Amor <ogarcia@connectical.com>
|
||||
|
||||
pkgbase=vault-bin
|
||||
pkgname=('vault-bin' 'vault-cli-bin')
|
||||
pkgver=1.4.2
|
||||
pkgrel=1
|
||||
url='https://vaultproject.io/'
|
||||
license=('MPL')
|
||||
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
|
||||
depends=('glibc')
|
||||
conflicts=('vault' 'vault-git')
|
||||
install='vault.install'
|
||||
backup=('etc/vault.hcl')
|
||||
source=('vault.tmpfiles'
|
||||
'vault.sysusers'
|
||||
'vault.service'
|
||||
|
@ -28,7 +27,12 @@ sha256sums_x86_64=('f2bca89cbffb8710265eb03bc9452cc316b03338c411ba8453ffe7419390
|
|||
sha256sums_armv7h=('c736ee6a3cc110157ef7473edf24c8692e6f5c57e68edbe1963971e9c22094a7')
|
||||
sha256sums_aarch64=('bb198bd161479fe0eee649bc6dd2aa82735009bd4f8c341e0676f9112e2376f7')
|
||||
|
||||
package () {
|
||||
package_vault-bin () {
|
||||
pkgdesc='A tool for managing secrets'
|
||||
conflicts=('vault' 'vault-git' 'vault-cli-bin')
|
||||
install='vault.install'
|
||||
backup=('etc/vault.hcl')
|
||||
|
||||
install -Dm755 vault "${pkgdir}/usr/bin/vault"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm644 "${srcdir}/vault.hcl" "${pkgdir}/etc/vault.hcl"
|
||||
|
@ -39,3 +43,11 @@ package () {
|
|||
install -Dm644 "${srcdir}/vault.tmpfiles" \
|
||||
"${pkgdir}/usr/lib/tmpfiles.d/vault.conf"
|
||||
}
|
||||
|
||||
package_vault-cli-bin () {
|
||||
pkgdesc='A tool for managing secrets (CLI Only)'
|
||||
conflicts=('vault' 'vault-git' 'vault-bin')
|
||||
|
||||
install -Dm755 vault "${pkgdir}/usr/bin/vault"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue