# Maintainer: Patrick Gansterer pkgname=postgresql-uint _pkgname=pguint pkgver=1.20200704 pkgrel=2 pkgdesc="Unsigned and other extra integer types for PostgreSQL" url="https://github.com/petere/pguint" arch="all" license="PostgreSQL" makedepends="postgresql-dev python3" source="$pkgname-$pkgver.tar.gz::https://github.com/petere/pguint/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # XXX: installcheck requires running PostgreSQL build() { make } package() { depends="postgresql$(pg_config --major-version)" make DESTDIR="$pkgdir" install } sha512sums="bd2614accf5c225cae8d849b60e51121c90c6e3676bca7ee07afed72fbcaa8753a819571c82b362b5c33cd5a236d15314c7231133011c6b67c844931289cedda postgresql-uint-1.20200704.tar.gz"