# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=postgresql-hypopg _projname=hypopg pkgver=1.4.0 pkgrel=0 pkgdesc="An extension adding hypothetical indexes in PostgreSQL" url="https://github.com/HypoPG/hypopg" arch="all" license="PostgreSQL" makedepends="postgresql-dev" source="https://github.com/HypoPG/hypopg/archive/$pkgver/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$_projname-$pkgver" options="!check" # tests require running PostgreSQL build() { make } package() { depends="postgresql$(pg_config --major-version)" make install DESTDIR="$pkgdir" } sha512sums=" 513e20838890c38807e373c31febc5bd3da72a29df037c1b15c39d70ea0dedb1537dab676e2d1c0dd2871b0803d03f5a8f715946e18a1632efa8d0d11a1b273f postgresql-hypopg-1.4.0.tar.gz "