# Maintainer: Sergej Pupykin # Contributor: François Charette pkgname=perl-dbd-pg pkgver=3.16.0 pkgrel=1 pkgdesc="Postgres Driver for DBI" arch=('x86_64') url="https://search.cpan.org/dist/DBD-Pg" license=('GPL' 'PerlArtistic') depends=('perl-dbi>=1.52' 'postgresql-libs') options=('!emptydirs') source=("https://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-${pkgver}.tar.gz") sha512sums=('03fd29af326405772aff65a9f28cad3da1f81f4be17ef965ccc0c0c23b740ce94740a08bc427943ed6f34466becb54978dd92bcf5acb0139bffd957505ff49da') build() { cd DBD-Pg-${pkgver} PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd DBD-Pg-${pkgver} make install DESTDIR="$pkgdir" find "$pkgdir" -name '.packlist' -delete find "$pkgdir" -name '*.pod' -delete }