summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/holo/PKGBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/pcr/holo/PKGBUILD b/pcr/holo/PKGBUILD
index 516dffbdd..f8c0c5c61 100644
--- a/pcr/holo/PKGBUILD
+++ b/pcr/holo/PKGBUILD
@@ -1,18 +1,22 @@
# Maintainer (AUR): Stefan Majewsky <majewsky@gmx.net>
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+# parabola changes and rationale:
+# - renamed tarball to avoid collisions
+# - added missing checkdepends: git openssh
+
pkgname='holo'
pkgver=2.2
-pkgrel=3
+pkgrel=3.1
pkgdesc='Minimalistic configuration management'
arch=('i686' 'x86_64' 'armv7h')
url='http://holocm.org'
license=('GPL3')
depends=()
optdepends=(
- 'git: to display diffs of entities'
- 'openssh: for the holo-ssh-keys plugin'
- 'shadow: for the holo-users-groups plugin'
+ 'git: to display diffs using git-diff(1)'
+ 'openssh: to provision SSH public keys'
+ 'shadow: to provision user accounts and groups'
)
makedepends=('go' 'perl')
checkdepends=('git' 'openssh')
@@ -23,8 +27,11 @@ provides=(
"holo-ssh-keys=${pkgver}"
"holo-users-groups=${pkgver}"
)
-conflicts=("${provides[@]%=*}")
-replaces=("${provides[@]%=*}")
+replaces=(
+ 'holo-run-scripts'
+ 'holo-ssh-keys'
+ 'holo-users-groups'
+)
backup=(
'etc/holorc'
'etc/holorc.d/10-files'
@@ -32,12 +39,15 @@ backup=(
'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=('56b8c47e8b872155fc50f1de972260189416fc7e0c9b6478ba81eed14eeaf72f')
options=('!strip') # binaries are already stripped inside the Makefile
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make