aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-04-23 12:13:13 +0200
committerMilan P. Stanić <mps@arvanta.net>2020-04-23 12:24:45 +0200
commit00357f80dd1a82300807100764ccfe13efb62a25 (patch)
tree70428da03ee259f62e9a8ceb3246792193854305
parent6b5af2cb007f331adef8d6b99a71c183c317b0aa (diff)
downloadaports-00357f80dd1a82300807100764ccfe13efb62a25.tar.gz
aports-00357f80dd1a82300807100764ccfe13efb62a25.tar.bz2
aports-00357f80dd1a82300807100764ccfe13efb62a25.tar.xz
community/check_postgres: upgrade to 2.25.0
remove 'builddir="$srcdir/$pkgname-$pkgver"', it is default replace $pkgname with check_postgres in source url modernize APKBUILD by removing 'cd "$builddir"'
-rw-r--r--community/check_postgres/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/community/check_postgres/APKBUILD b/community/check_postgres/APKBUILD
index f18c62779e..5398ec0276 100644
--- a/community/check_postgres/APKBUILD
+++ b/community/check_postgres/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: G.J.R. Timmer <gjr.timmer@gmail.com>
# TODO: run tests!
pkgname=check_postgres
-pkgver=2.24.0
+pkgver=2.25.0
pkgrel=0
pkgdesc="PostgreSQL monitoring script"
url="https://bucardo.org/wiki/Check_postgres"
@@ -12,11 +12,9 @@ license="BSD"
depends="postgresql perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/bucardo/$pkgname/archive/$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
+source="$pkgname-$pkgver.tar.gz::https://github.com/bucardo/check_postgres/archive/$pkgver.tar.gz"
build() {
- cd "$builddir"
perl Makefile.PL \
INSTALL_BASE=/usr \
@@ -28,7 +26,6 @@ build() {
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
@@ -36,4 +33,4 @@ package() {
mv "$pkgdir"/usr/bin/check_postgres.pl "$pkgdir"/usr/bin/check_postgres
}
-sha512sums="17567b7cd141797748b117a607663d5c3a151d3b3ea9956d35fe8b087f7987ed9dde773951c85b84d89ba2d06f1ce205e1b92e9162649ae894ef1ba200cc8a83 check_postgres-2.24.0.tar.gz"
+sha512sums="ab7d4b231f1428f549a2da0370de63c39d54287f8284c65044d1aa8fed120d89e9730c3b614004fdc298536402330ccac43d2d9dfe8b20cc5aff6f89f7be0915 check_postgres-2.25.0.tar.gz"