summaryrefslogtreecommitdiff
path: root/pcr/holo
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-20 22:53:24 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-20 22:53:38 -0400
commitba364cab3fd6478bb0b5a53335d888495bf1c0ab (patch)
tree222752071bf8797e4786aebf133bba7000613fa3 /pcr/holo
parente2c002871ce06ca00b01a63747e3a40459f6bb61 (diff)
downloadabslibre-ba364cab3fd6478bb0b5a53335d888495bf1c0ab.tar.gz
abslibre-ba364cab3fd6478bb0b5a53335d888495bf1c0ab.tar.bz2
abslibre-ba364cab3fd6478bb0b5a53335d888495bf1c0ab.zip
~lukeshu/holo-lukeshu 1.2.1 -> pcr/holo 1.3.1
Diffstat (limited to 'pcr/holo')
-rw-r--r--pcr/holo/PKGBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/pcr/holo/PKGBUILD b/pcr/holo/PKGBUILD
new file mode 100644
index 000000000..58c9606af
--- /dev/null
+++ b/pcr/holo/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer (AUR): Stefan Majewsky <majewsky@gmx.net>
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+
+# Upstream info
+pkgname='holo'
+pkgver=1.3.1
+pkgdesc='Minimalistic configuration management'
+url='http://holocm.org'
+license=('GPL3')
+
+# package info
+pkgrel=1
+arch=('i686' 'x86_64' 'armv7h')
+depends=('git')
+makedepends=('go' 'perl')
+provides+=(
+ "holo-files=$pkgver"
+ 'HOLO_API_VERSION=3'
+)
+backup=(
+ 'etc/holorc'
+ 'etc/holorc.d/10-files'
+)
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/holocm/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('1ec8795df0a5a579bdcf88875db10ccb016044865096fdbf38d6ae6ed590aa63')
+
+options=('!strip') # binaries are already stripped inside the Makefile
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+}