blob: 4cb07d7d220265bda4ec01898e186180e11f2cb9 (
plain) (
blame)
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
29
30
31
32
33
34
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-dbd-pg
pkgver=3.8.1
pkgrel=0
pkgdesc="PostgreSQL interface for Perl DBI"
url="https://metacpan.org/release/DBD-Pg"
arch="all"
license="Artistic-1.0-Perl OR GPL-2.0-only"
depends="perl-dbi"
makedepends="perl-dev postgresql-dev"
checkdepends="cmd:locale postgresql"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-$pkgver.tar.gz
fix-tests.patch
"
builddir="$srcdir/DBD-Pg-$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="0e48e8b5932a0d680284e0b494b3e09b8aceeecebc3631cc02e35c391fdc7bde5ab2f6d3fe2eeb46c207fba2143871728ef57f8d0a81c075745e2be4249e2423 DBD-Pg-3.8.1.tar.gz
f7032e7e63eb403778e3f42e1b7f7d472695175d3d8c30bc10062ffee6275b8f46635ea2a82ca2cc5c9de48f7bfa64cdfce56ce58846302bb32db0e4657dcee7 fix-tests.patch"
|