mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
All aports that makedepend on postgresql-dev, except postgresql-timescaledb that still doesn't support PostgreSQL 15 - I will deal with it later.
31 lines
929 B
Text
31 lines
929 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=postgresql-plpgsql_check
|
|
_pkgname=plpgsql_check
|
|
pkgver=2.2.3
|
|
pkgrel=1
|
|
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="
|
|
8886900f6145345c82509ceb539dc7daa86be1bd52663c3535e3dea9907a3b5bea62fd68c746ec2bc11de6990e57d8c716ca1f46fff7d057c65b009505e20049 plpgsql_check-2.2.3.tar.gz
|
|
"
|