diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/perl-dbd-pg |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/perl-dbd-pg')
-rw-r--r-- | community/perl-dbd-pg/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/perl-dbd-pg/PKGBUILD b/community/perl-dbd-pg/PKGBUILD new file mode 100644 index 000000000..2573b9128 --- /dev/null +++ b/community/perl-dbd-pg/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 35619 2010-12-21 23:00:16Z 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 +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') + +build() { + cd $srcdir/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 +} |