aboutsummaryrefslogtreecommitdiffstats
path: root/community/postgresql-hypopg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/postgresql-hypopg/APKBUILD')
-rw-r--r--community/postgresql-hypopg/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/postgresql-hypopg/APKBUILD b/community/postgresql-hypopg/APKBUILD
index 739c533f40c..a776829af1d 100644
--- a/community/postgresql-hypopg/APKBUILD
+++ b/community/postgresql-hypopg/APKBUILD
@@ -2,13 +2,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-hypopg
_projname=hypopg
-pkgver=1.2.0
-pkgrel=0
+pkgver=1.4.0
+pkgrel=1
pkgdesc="An extension adding hypothetical indexes in PostgreSQL"
url="https://github.com/HypoPG/hypopg"
arch="all"
license="PostgreSQL"
-depends="postgresql"
makedepends="postgresql-dev"
source="https://github.com/HypoPG/hypopg/archive/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_projname-$pkgver"
@@ -19,7 +18,11 @@ build() {
}
package() {
+ depends="postgresql$(pg_config --major-version)"
+
make install DESTDIR="$pkgdir"
}
-sha512sums="28f6518471e8bf2369d2f5919e98cb05a2afeb08b8c802a54beae850a070ff3f11a861a28eec779ad2ee21dbc28cebf4e4e6ef88b2ce197c60f007817b773c5d postgresql-hypopg-1.2.0.tar.gz"
+sha512sums="
+513e20838890c38807e373c31febc5bd3da72a29df037c1b15c39d70ea0dedb1537dab676e2d1c0dd2871b0803d03f5a8f715946e18a1632efa8d0d11a1b273f postgresql-hypopg-1.4.0.tar.gz
+"