1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/community/postgresql-hypopg/APKBUILD

28 lines
792 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-hypopg
_projname=hypopg
pkgver=1.4.0
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="
513e20838890c38807e373c31febc5bd3da72a29df037c1b15c39d70ea0dedb1537dab676e2d1c0dd2871b0803d03f5a8f715946e18a1632efa8d0d11a1b273f postgresql-hypopg-1.4.0.tar.gz
"