mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 06:51:57 +01: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.7.2
|
|
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="9292b7546d59777f67624432720bb195209d8b25fbd37233eb2d395cc72096829a9f77aaaa1f391746e346462bfe2c6ef707bf426a1b4b49cdd9505a891d20d0 plpgsql_check-1.7.2.tar.gz"
|