# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=postgresql-hypopg _projname=hypopg pkgver=1.3.1 pkgrel=1 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=" 4426df50499e3485be18d7569ca829be702d30a273c5ee584f6d5c0d49e7d19bb079c3922a30c8e73530785c76b458864ec7555f65163614b4d0cfc4bd78b814 postgresql-hypopg-1.3.1.tar.gz "