mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-15 18:51:48 +02:00
32 lines
929 B
Plaintext
32 lines
929 B
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=postgresql-plpgsql_check
|
|
_pkgname=plpgsql_check
|
|
pkgver=2.6.1
|
|
pkgrel=0
|
|
pkgdesc="Additional tools for plpgsql functions validation"
|
|
url="https://github.com/okbob/plpgsql_check"
|
|
arch="all"
|
|
license="MIT"
|
|
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() {
|
|
depends="postgresql$(pg_config --major-version)"
|
|
|
|
make USE_PGXS=1 DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses
|
|
}
|
|
|
|
sha512sums="
|
|
580ca68ff3d9f418d0ad2d30b75edee0c0aa4b127ce8f32c5bad03b5b1b517a6e2ec1cf3b935d4439cb3ff2a2263076dd41af3c5983378ef058a20f957e734ef plpgsql_check-2.6.1.tar.gz
|
|
"
|