aboutsummaryrefslogblamecommitdiffstats
path: root/community/postgresql-plpgsql_check/APKBUILD
blob: 2d765b1837457cc714e21e3e3528ad3dcce65cd4 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                               
             
        


                                                           
                             

                            
                          
                                                                                             



                                                                 



                           
                                                 

                                                              

 
                                                                                                                                                                          
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-plpgsql_check
_pkgname=plpgsql_check
pkgver=1.15.2
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="336719bc45e5151c71b9b52c115ee9eff1b535b47e2ccaa290069a7d83af73a1f65df178246b3f8ccc128c395c1a004100a186235f864231ea4c698fb0e7f2cb  plpgsql_check-1.15.2.tar.gz"