aboutsummaryrefslogtreecommitdiffstats
path: root/community/postgresql-plpgsql_check/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgresql-plpgsql_check/APKBUILD')
-rw-r--r--community/postgresql-plpgsql_check/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/community/postgresql-plpgsql_check/APKBUILD b/community/postgresql-plpgsql_check/APKBUILD
index 143bd2477d4..3e5ff18f908 100644
--- a/community/postgresql-plpgsql_check/APKBUILD
+++ b/community/postgresql-plpgsql_check/APKBUILD
@@ -2,13 +2,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-plpgsql_check
_pkgname=plpgsql_check
-pkgver=1.17.1
+pkgver=2.7.5
pkgrel=0
pkgdesc="Additional tools for plpgsql functions validation"
url="https://github.com/okbob/plpgsql_check"
arch="all"
license="MIT"
-depends="postgresql"
makedepends="postgresql-dev"
subpackages="$pkgname-doc"
source="$_pkgname-$pkgver.tar.gz::https://github.com/okbob/$_pkgname/archive/v$pkgver.tar.gz"
@@ -20,11 +19,13 @@ build() {
}
package() {
+ depends="postgresql$(pg_config --major-version)"
+
make USE_PGXS=1 DESTDIR="$pkgdir" install
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses
}
sha512sums="
-4c15a3c33b9dc155d7acbfaa16aa537336649ed7b851767fc8f9127512f4ef5846f5a99f01d6a7af5a23b240e014d08b00a955c76699e70ab564e8b1eb63b087 plpgsql_check-1.17.1.tar.gz
+efbc71dff4a6f634be1c9f9e3e7a63a6a7e280e3f7b6aaf8578f0b376c7fab898df567304806022b85a6a7357d94e1a85cde0080581a6b9db3d0f264b9dc1da4 plpgsql_check-2.7.5.tar.gz
"