# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=postgresql-plpgsql_check _pkgname=plpgsql_check pkgver=1.17.1 pkgrel=0 pkgdesc="Additional tools for plpgsql functions validation" url="https://github.com/okbob/plpgsql_check" arch="all" license="MIT" depends="postgresql" makedepends="postgresql-dev" subpackages="$pkgname-doc" source="$_pkgname-$pkgver.tar.gz::https://github.com/okbob/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" options="!check" # XXX: installcheck requires running PostgreSQL build() { make USE_PGXS=1 all } package() { make USE_PGXS=1 DESTDIR="$pkgdir" install install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses } sha512sums=" 4c15a3c33b9dc155d7acbfaa16aa537336649ed7b851767fc8f9127512f4ef5846f5a99f01d6a7af5a23b240e014d08b00a955c76699e70ab564e8b1eb63b087 plpgsql_check-1.17.1.tar.gz "