summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Steel2017-05-12 08:20:25 +0100
committerJonathan Steel2017-05-12 08:23:46 +0100
commit117cc623dec88ce1d517c745eaab763453fe585d (patch)
tree9ef1c31dbec4c1d33749b3fbb6617f0cf71bbbe3
parent1bc9d26b3966177e490c4f55ec13432a5aa23bbd (diff)
downloadaur-117cc623dec88ce1d517c745eaab763453fe585d.tar.gz
2.14-2
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 501bd0c26b3..344dcc677e1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Fri May 12 07:13:40 UTC 2017
+# Fri May 12 07:23:27 UTC 2017
pkgbase = thruk
pkgdesc = Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken
- pkgver = 2.14
- pkgrel = 5
+ pkgver = 2.14.2
+ pkgrel = 1
url = http://thruk.org
arch = any
license = GPL2
@@ -31,8 +31,8 @@ pkgbase = thruk
backup = etc/thruk/naglint.conf
backup = etc/httpd/conf/extra/thruk.conf
backup = etc/thruk/thruk_local.conf
- source = http://download.thruk.org/pkg/v2.14/src/thruk-2.14.tar.gz
- md5sums = ac36a64794e6f44fe34d03473b616875
+ source = http://download.thruk.org/pkg/v2.14-2/src/thruk-2.14-2.tar.gz
+ md5sums = d15292905a702e9819467e94c22b505a
pkgname = thruk
diff --git a/PKGBUILD b/PKGBUILD
index 1e9fb4cde37..13af32b7390 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
pkgname=thruk
-pkgver=2.14
-pkgrel=5
+_pkgver=2.14-2
+pkgver=${_pkgver/-/.}
+pkgrel=1
pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
arch=('any')
url="http://thruk.org"
@@ -17,11 +18,11 @@ backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
'etc/thruk/thruk_local.conf')
-source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
-md5sums=('ac36a64794e6f44fe34d03473b616875')
+source=(http://download.thruk.org/pkg/v$_pkgver/src/$pkgname-$_pkgver.tar.gz)
+md5sums=('d15292905a702e9819467e94c22b505a')
build() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_pkgver
./configure --prefix=/usr \
--exec-prefix=/bin \
@@ -41,7 +42,7 @@ build() {
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_pkgver
make DESTDIR="$pkgdir"/ install
@@ -49,4 +50,5 @@ package() {
install -dm755 "$pkgdir"/etc/thruk/panorama
chown -R 33:33 "$pkgdir"/var/{lib,log}/thruk/ "$pkgdir"/etc/thruk/panorama/
+ chmod 770 "$pkgdir"/var/lib/thruk/
}