diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 7 insertions, 6 deletions
@@ -1,14 +1,14 @@ # Generated by mksrcinfo v8 -# Sun Apr 23 17:27:21 UTC 2017 +# Sun Apr 23 18:42:13 UTC 2017 pkgbase = check_bareos-git pkgdesc = Icinga Plugin to check Bareos Backup Director databases pkgver = r25.85f183b - pkgrel = 1 + pkgrel = 2 url = https://github.com/widhalmt/check_bareos arch = any license = GPLv3 - depends = python - depends = python-psycopg2 + depends = python2 + depends = python2-psycopg2 depends = mysql-python optdepends = postgresql optdepends = mariadb @@ -3,12 +3,12 @@ pkgname=check_bareos-git _pkgname=check_bareos pkgver=r25.85f183b -pkgrel=1 +pkgrel=2 pkgdesc="Icinga Plugin to check Bareos Backup Director databases" arch=('any') url="https://github.com/widhalmt/check_bareos" license=('GPLv3') -depends=('python' 'python-psycopg2' 'mysql-python') +depends=('python2' 'python2-psycopg2' 'mysql-python') optdepends=('postgresql' 'mariadb') source=("git+https://github.com/widhalmt/check_bareos.git") sha512sums=('SKIP') @@ -21,6 +21,7 @@ pkgver() { package() { cd ${srcdir}/${_pkgname} mkdir -p "${pkgdir}/usr/lib/monitoring-plugins" + sed -i 's?/usr/bin/python?/usr/bin/python2?g' check_bareos.py cp check_bareos.py "${pkgdir}/usr/lib/monitoring-plugins/" chmod o+rx "${pkgdir}/usr/lib/monitoring-plugins/check_bareos.py" mkdir -p "${pkgdir}/usr/share/icinga2/include/plugins-contrib.d/" |