28 lines
845 B
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-plpgsql_check
_pkgname=plpgsql_check
pkgver=1.7.1
pkgrel=0
pkgdesc="Additional tools for plpgsql functions validation"
url="https://github.com/okbob/plpgsql_check"
arch="all"
license="BSD"
depends="postgresql"
makedepends="postgresql-dev"
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() {
cd "$builddir"
make USE_PGXS=1 all
}
package() {
cd "$builddir"
make USE_PGXS=1 DESTDIR="$pkgdir" install
}
sha512sums="437dc67ed3a4c8eba938d2109ede08b8cb385d8b362942803682a97e9d5d609ecb110bb8bc1818d415488e38555ec9268daf5f08ef9d84a2c7c45c20d30c266a plpgsql_check-1.7.1.tar.gz"