1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 19:29:53 +03:00
aports/community/postgresql-plpgsql_check/APKBUILD

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.8.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="
bbd26877d7de169ca8e075fd6f9428fd24b31383f39a325df566b39a92b3237cfe1636c39e6bbf9a47fe5315fdaaa93e2b2897da82741419890a01d7cc6b288d plpgsql_check-2.8.1.tar.gz
"