summaryrefslogblamecommitdiff
path: root/user/perl-dbd-pg/APKBUILD
blob: b089493309423bb71ef5977901e80b132314b391 (plain) (tree)
1
2
3
4
5
6
7
8
                                                  
                                                          
                   



                               
             



                                           
                                       
                       
                                      
                                     
                          
                                                                                        
                                    

         




                                                                 



                 



                                                                           
                                                                                                                                                                   
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-dbd-pg
_pkgreal=DBD-Pg
_author=TURNSTEP
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=3.18.0
pkgrel=0
pkgdesc="PostgreSQL interface for Perl DBI"
url="https://metacpan.org/release/DBD-Pg"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl perl-dbi"
checkdepends="musl-locales postgresql"
makedepends="perl-dev postgresql-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="0a81d1993f22a923776ab57f1437dbee2b5c42de091e274355dbcc9bb07e3db0c22126d0037de8de43fafeab9c947db1e3692087127027a0b13eed538fc2e1ee  DBD-Pg-3.18.0.tar.gz"