summaryrefslogtreecommitdiff
path: root/pcr/holo
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-08-19 20:24:38 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-08-19 20:40:12 -0400
commit98e99c9e72e1d8d01f8ecbf153e18e16a9491e0c (patch)
treeaccddb3f2d7525658d54620ec430910dcf41b32f /pcr/holo
parent7fe9b0e80355ef62638712e7366d752c86603603 (diff)
downloadabslibre-98e99c9e72e1d8d01f8ecbf153e18e16a9491e0c.tar.gz
abslibre-98e99c9e72e1d8d01f8ecbf153e18e16a9491e0c.tar.bz2
abslibre-98e99c9e72e1d8d01f8ecbf153e18e16a9491e0c.zip
pcr/holo: update to 2.0
Diffstat (limited to 'pcr/holo')
-rw-r--r--pcr/holo/PKGBUILD52
1 files changed, 33 insertions, 19 deletions
diff --git a/pcr/holo/PKGBUILD b/pcr/holo/PKGBUILD
index 58c9606af..3141bcac4 100644
--- a/pcr/holo/PKGBUILD
+++ b/pcr/holo/PKGBUILD
@@ -1,43 +1,57 @@
# Maintainer (AUR): Stefan Majewsky <majewsky@gmx.net>
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
-# Upstream info
pkgname='holo'
-pkgver=1.3.1
+pkgver=2.0
+pkgrel=1
pkgdesc='Minimalistic configuration management'
+arch=('i686' 'x86_64' 'armv7h')
url='http://holocm.org'
license=('GPL3')
-
-# package info
-pkgrel=1
-arch=('i686' 'x86_64' 'armv7h')
-depends=('git')
+depends=()
+optdepends=(
+ 'git: to display diffs of entities'
+ 'openssh: for the holo-ssh-keys plugin'
+ 'shadow: for the holo-users-groups plugin'
+)
makedepends=('go' 'perl')
-provides+=(
- "holo-files=$pkgver"
- 'HOLO_API_VERSION=3'
+checkdepends=('git' 'openssh')
+provides=(
+ # required for holo-build packages that have a holo-$PLUGIN dependency when there are files below /usr/share/holo/$PLUGIN/
+ "holo-files=${pkgver}"
+ "holo-run-scripts=${pkgver}"
+ "holo-ssh-keys=${pkgver}"
+ "holo-users-groups=${pkgver}"
+)
+replaces=(
+ 'holo-run-scripts'
+ 'holo-ssh-keys'
+ 'holo-users-groups'
)
backup=(
- 'etc/holorc'
- 'etc/holorc.d/10-files'
+ 'etc/holorc'
+ 'etc/holorc.d/10-files'
+ 'etc/holorc.d/20-users-groups'
+ 'etc/holorc.d/25-ssh-keys'
+ 'etc/holorc.d/95-holo-run-scripts'
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/holocm/${pkgname}/archive/v${pkgver}.tar.gz")
-sha256sums=('1ec8795df0a5a579bdcf88875db10ccb016044865096fdbf38d6ae6ed590aa63')
+sha256sums=('c6a9170b41e40c630bdbd4cb70e73d2fa5ebe0a8c8da4fb7a07c99ba849c3d6b')
options=('!strip') # binaries are already stripped inside the Makefile
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
}
check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
}