mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=postgresql-plpgsql_check
|
|
_pkgname=plpgsql_check
|
|
pkgver=1.2.3
|
|
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
|
|
fix-for-postgresql-11-and-12.patch
|
|
"
|
|
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="73c178f19540923394333404612779b692f932f9748085f9a41bd51535d19c15e87b04874f90f387aa197cf2f179e318b202203abd39f6e33e111fe2903e7998 plpgsql_check-1.2.3.tar.gz
|
|
7ee1624175549783e15872d9b3469b959f45d882a830b94b39da069c58d5aa9e75c49c9f52c3a5254ad1854777e9518465b456fcae090a8a5b4f999b32e5ecf0 fix-for-postgresql-11-and-12.patch"
|