diff options
author | ghostbuster | 2022-10-28 21:36:41 +0200 |
---|---|---|
committer | ghostbuster | 2022-10-28 21:36:41 +0200 |
commit | 93136c02cdf2859c3b7d0828f08af56cc2dc6a18 (patch) | |
tree | 54eafb0380df0d1728ce99a62dedfa0a7baa5529 | |
parent | 2cad53c027c7066ac0ccc9260722343ae78bd5ed (diff) | |
download | aur-93136c02cdf2859c3b7d0828f08af56cc2dc6a18.tar.gz |
synced PKGBUILD with nagstamon-git
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = nagstamon pkgdesc = Nagios status monitor for the desktop pkgver = 3.10.0 - pkgrel = 1 + pkgrel = 2 url = https://nagstamon.ifw-dresden.de/ arch = any license = GPL @@ -2,7 +2,7 @@ _pkgname=Nagstamon pkgname=nagstamon pkgver=3.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="Nagios status monitor for the desktop" depends=('python-pyqt5' 'qt5-multimedia' 'qt5-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus' 'python-dateutil' 'python-pysocks') optdepends=('python-requests-gssapi: Will be used instead of python-requests-kerberos for kerberos auth if present') @@ -24,7 +24,7 @@ package() { # to avoid the issue setup.py is rewritten here to resolve the need for the AppInfo import name=$(sed '0,/class AppInfo/d' Nagstamon/Config.py | grep "NAME " | sed -e "s/^[\t ]*NAME = '//" -e "s/'$//") version=$(sed '0,/class AppInfo/d' Nagstamon/Config.py | grep "VERSION " | sed -e "s/^[\t ]*VERSION = '//" -e "s/'$//") - sed -i setup.py -e "s/from Nagstamon.Config import AppInfo,/from Nagstamon.Config import/" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/" + sed -i setup.py -e "s/from Nagstamon.Config import AppInfo.*//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/" -e "s/ *OS$/OS = 'Linux'/" python setup.py install --prefix=/usr --root="$pkgdir" mv "$pkgdir/usr/bin/nagstamon.py" "$pkgdir/usr/bin/nagstamon" install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" |