# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=postgresql-plpgsql_check _pkgname=plpgsql_check pkgver=1.9.0 pkgrel=0 pkgdesc="Additional tools for plpgsql functions validation" url="https://github.com/okbob/plpgsql_check" arch="all" license="custom:postcardware" 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="f6c446b6546f524b1e6622c7f45775d27f04b4ea37186349332ee71fe0398d1c5e19936fb4a377f27e7d977625b4ff7cb14295ab71c439e5043e514d9e192f9b plpgsql_check-1.9.0.tar.gz"