diff --git a/PKGBUILD b/PKGBUILD index 69643f2..df3f07d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname='vault' pkgdesc='A tool for managing secrets' -pkgver='0.9.1' +pkgver='0.9.3' pkgrel='1' url='https://vaultproject.io/' license=('MPL') @@ -11,7 +11,7 @@ makedepends=('go-pie' 'git') depends=('glibc') install='vault.install' backup=('etc/vault.hcl') -_vault_commit='87b6919dea55da61d7cd444b2442cabb8ede8ab1' +_vault_commit='5acd6a21d5a69ab49d0f7c0bf540123a9b2c696d' source=("git+https://github.com/hashicorp/vault#commit=${_vault_commit}" 'vault.service' 'vault.sysusers' @@ -27,16 +27,16 @@ prepare () { export GOPATH="${srcdir}" export PATH="$PATH:$GOPATH/bin" mkdir -p src/github.com/hashicorp/ - mv ${pkgname} src/github.com/hashicorp/ + mv "${pkgname}" src/github.com/hashicorp/ } build () { - cd src/github.com/hashicorp/${pkgname} + cd src/github.com/hashicorp/"${pkgname}" go build -o vault-binary } package () { - cd src/github.com/hashicorp/${pkgname} + cd src/github.com/hashicorp/"${pkgname}" install -Dm755 vault-binary "${pkgdir}/usr/bin/vault" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 "${srcdir}/vault.hcl" "${pkgdir}/etc/vault.hcl"