summaryrefslogtreecommitdiff
path: root/community-testing/perl-dbd-pg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/perl-dbd-pg/PKGBUILD')
-rw-r--r--community-testing/perl-dbd-pg/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community-testing/perl-dbd-pg/PKGBUILD b/community-testing/perl-dbd-pg/PKGBUILD
new file mode 100644
index 000000000..4a0cc32a6
--- /dev/null
+++ b/community-testing/perl-dbd-pg/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 71390 2012-05-27 07:39:59Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-dbd-pg
+pkgver=2.19.2
+pkgrel=2
+pkgdesc="Postgres Driver for DBI"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/DBD-Pg"
+license=('GPL' 'PerlArtistic')
+depends=('perl-dbi>=1.52' 'postgresql-libs')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-${pkgver}.tar.gz")
+md5sums=('67c859593e40959b42b3ef23ce6b581e')
+
+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
+}