aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cac66954bd1ef54fd437e3b7d3eb4836827ec907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Paul Stemmet <aur@luxolus.com>

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

pkgname=vault-agent
pkgver=20221120
pkgrel=1
pkgdesc='Systemd service and configuration for Vault agents'
arch=('any')
url='https://developer.hashicorp.com/vault/docs/agent'
license=('MPL2')
options=('emptydirs' '!strip')
depends=('vault')
source=('vault-agent@.service')
sha256sums=('c87a9312392507c0121e567bb067f6a0f1ce57fc865635383de3d525698f99ac')

pkgver() {
  date --utc +'%Y%m%d'
}

package() {
  cd "${pkgdir}"

  install -D -d -m755 "${pkgdir}/etc/vault-agent.d"
  install -D    -m644 "${srcdir}/vault-agent@.service" \
                      "${pkgdir}/usr/lib/systemd/system/vault-agent@.service"
}

# vim:set ts=2 sw=2 et: