aboutsummaryrefslogtreecommitdiffstats
path: root/community/postgresql-plpgsql_check/APKBUILD
blob: c2699e971761dc4706656dbe08e8f5f2d2fc5c7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-plpgsql_check
_pkgname=plpgsql_check
pkgver=1.7.3
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="ba76fa735dfb32a43124af585b7d0562fc8a591a521a9c2bca9b8ad7728839b9ff06b9cea17d056a6fd511616486448b9b10aa3299a62796a78b3e80fcc5a513  plpgsql_check-1.7.3.tar.gz"