29 lines
915 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-plpgsql_check
_pkgname=plpgsql_check
pkgver=1.15.1
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="b579fc308bc1493887590343a682915391eca375f4723d3cc13ea5b60278309558f81001bd17adc3de73a4de7068a06536ceacef4b67048823536b654a8e2963 plpgsql_check-1.15.1.tar.gz"