summaryrefslogtreecommitdiff
path: root/community/perl-dbd-pg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-dbd-pg/PKGBUILD')
-rw-r--r--community/perl-dbd-pg/PKGBUILD26
1 files changed, 17 insertions, 9 deletions
diff --git a/community/perl-dbd-pg/PKGBUILD b/community/perl-dbd-pg/PKGBUILD
index 2573b9128..7af282d37 100644
--- a/community/perl-dbd-pg/PKGBUILD
+++ b/community/perl-dbd-pg/PKGBUILD
@@ -1,24 +1,32 @@
-# $Id: PKGBUILD 35619 2010-12-21 23:00:16Z tdziedzic $
+# $Id: PKGBUILD 47753 2011-05-25 13:27:50Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-dbd-pg
-pkgver=2.17.2
-pkgrel=2
+pkgver=2.18.1
+pkgrel=1
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=('2cd63605a9420a63c780f627420a359a')
+source=("http://www.cpan.org/authors/id/T/TU/TURNSTEP/DBD-Pg-${pkgver}.tar.gz")
+md5sums=('1f4a837b3d79789ad6854443fce7a901')
build() {
- cd $srcdir/DBD-Pg-$pkgver
+ cd DBD-Pg-${pkgver}
+
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
make
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+}
+
+package() {
+ cd DBD-Pg-${pkgver}
+
+ make install DESTDIR=${pkgdir}
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
}