diff options
Diffstat (limited to 'pcr/holo')
-rw-r--r-- | pcr/holo/PKGBUILD | 43 |
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}" +} |