# Maintainer: Julian Brost pkgname=check-nwc-health pkgver=6.4.1.6 pkgrel=1 pkgdesc="Monitoring check for various network equipment" arch=('any') url='https://labs.consol.de/nagios/check_nwc_health/' license=('GPL') depends=('perl') makedepends=() optdepends=('perl-soap-lite: checks based on UPnP' 'perl-xml-libxml: checks based on UPnP' 'perl-xml-treebuilder: FritzBox checks' 'perl-json: FritzBox checks') source=("https://labs.consol.de/assets/downloads/nagios/check_nwc_health-$pkgver.tar.gz") sha256sums=('97345b575687f649699abb80aea680e5a744bf91702bcade1a25cd036a07e815') build() { cd "check_nwc_health-$pkgver" ./configure --prefix=/usr --libexecdir=/usr/lib/monitoring-plugins make } package() { cd "check_nwc_health-$pkgver" make DESTDIR="$pkgdir/" install }