diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/monitoring-plugins/APKBUILD | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/community/monitoring-plugins/APKBUILD b/community/monitoring-plugins/APKBUILD index 2cf59e832f..b9ec874242 100644 --- a/community/monitoring-plugins/APKBUILD +++ b/community/monitoring-plugins/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=monitoring-plugins -pkgver="2.1.2" -pkgrel=1 +pkgver="2.2" +pkgrel=0 pkgdesc="Plugins for Icinga, Naemon, Nagios, Shinken, Sensu and other monitoring applications" url="http://www.monitoring-plugins.org" arch="all" @@ -15,20 +15,10 @@ makedepends="$depends_dev linux-headers libdbi-dev install="" subpackages="$pkgname-doc" source="https://www.monitoring-plugins.org/download/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --prefix=/usr \ --libexecdir=/usr/lib/monitoring-plugins @@ -42,7 +32,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install install -Dm644 LEGAL "$pkgdir"/usr/share/licenses/$pkgname/LEGAL @@ -54,6 +44,6 @@ package() { rm $pkgdir/usr/lib/charset.alias } -md5sums="4a210f7db012571ea58e214cef74f612 monitoring-plugins-2.1.2.tar.gz" -sha256sums="76c6b58f0867ab7b6c8c86c7e94fcce7183618f6daab63488990d0355f5600aa monitoring-plugins-2.1.2.tar.gz" -sha512sums="845eb7636691aa5402119384c3d4256969e959fbc29ef5257c24fc4c21536cad3dade30747f36c9ad998cb37df0f325df66ea679d3d5b96c2993b59a9a325fed monitoring-plugins-2.1.2.tar.gz" +md5sums="549e243ba1fb5c5b3be3a86961de40a7 monitoring-plugins-2.2.tar.gz" +sha256sums="296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665 monitoring-plugins-2.2.tar.gz" +sha512sums="5f8cfa132891d6d96e69bee3f2c26f7d4546f572be6a18f25ea5d9069f162cb2e424361289a5c26bec60d7b63d28a269437fd6f25645903a1c142fdcbbf77f27 monitoring-plugins-2.2.tar.gz" |