blob: 07e03665bb168d70ee041d5a4806edeed72488e3 (
plain) (
tree)
|
|
# 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.17.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="17e7946297c58c19aa0f069ed9e1a78022ca64f76f25d7122f08b255d5192057ccfb7ace2530b505823c540f10733c3b26c1fe24a92cee966ba724e5d1694fb1 DBD-Pg-3.17.0.tar.gz"
|