diff options
-rw-r--r-- | pcr/holo/PKGBUILD | 43 | ||||
-rw-r--r-- | ~lukeshu/holo-lukeshu/PKGBUILD | 51 |
2 files changed, 43 insertions, 51 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}" +} diff --git a/~lukeshu/holo-lukeshu/PKGBUILD b/~lukeshu/holo-lukeshu/PKGBUILD deleted file mode 100644 index a291e0e3a..000000000 --- a/~lukeshu/holo-lukeshu/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Maintainer (AUR): Stefan Majewsky <majewsky@gmx.net> -# Maintainer: Luke Shumaker <lukeshu@parabola.nu> - -# Upstream info -_pkgname='holo' -_pkgver=1.2.1 -_pkgdesc='Minimalistic configuration management' -url='http://holocm.org' -license=('GPL3') - -# patch info -pkgname=$_pkgname-lukeshu -pkgver=$_pkgver.lukeshu1 -pkgdesc="$_pkgdesc (with patches from lukeshu)" -_gitver='commit=6e22b1f69650910f71f9f93d705e973384f3fab8' -mksource=("$_pkgname-$pkgver::git+https://github.com/lukeshu/holo#$_gitver") -mkmd5sums=('SKIP') -provides=("$_pkgname=$pkgver") - -# 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=("https://repo.parabola.nu/other/~lukeshu/holo/$_pkgname-$pkgver.tar.gz") -sha256sums=('0572fcff14fd2a740fce50070475f8d79c96464040f54d12cc7b212f1a5e64fb') - -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}" -} |