summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-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}"
}