mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
28 lines
913 B
Text
28 lines
913 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=postgresql-plpgsql_check
|
|
_pkgname=plpgsql_check
|
|
pkgver=1.7.6
|
|
pkgrel=0
|
|
pkgdesc="Additional tools for plpgsql functions validation"
|
|
url="https://github.com/okbob/plpgsql_check"
|
|
arch="all"
|
|
license="custom:postcardware"
|
|
depends="postgresql"
|
|
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() {
|
|
make USE_PGXS=1 DESTDIR="$pkgdir" install
|
|
|
|
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses
|
|
}
|
|
|
|
sha512sums="a8e217a71d0089e1c2ab3b95f0d13ab3357cefe7a2186654c6dcae251571fd6f0143de62e13c949fada4267d0a2efa48ccfebb14acf2e43f035f47b6f5c5aea7 plpgsql_check-1.7.6.tar.gz"
|