mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
28 lines
845 B
Plaintext
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.2.2
|
|
pkgrel=1
|
|
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="57a41ffb9ef3b4404cf5d7c29ac595d3a97ca25edecd4ae2c28113f7e1cb400ef6bba826691c5529dcac6f9790f5f8ef5a00b91af31e7aaf493e1d0dd7ead8f3 plpgsql_check-1.2.2.tar.gz"
|