summaryrefslogtreecommitdiff
path: root/community/perl-dbd-pg/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-30 19:55:24 -0300
commite2a2cddf54e26ab2f6551c9d27b997472e5f4d45 (patch)
tree506c782411889ae8fe218db16eee680c7ae5e0e2 /community/perl-dbd-pg/PKGBUILD
parent7927a6b6296eecd09c8d2f70e593a378768deabe (diff)
parent5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/gtk2hs-cairo/PKGBUILD community/gtk2hs-glib/PKGBUILD community/gtk2hs-gtk/PKGBUILD community/gtk2hs-pango/PKGBUILD community/haskell-dbus/PKGBUILD community/haskell-hslogger/PKGBUILD community/kvirc/PKGBUILD community/perl-gtk2-trayicon/PKGBUILD core/binutils/PKGBUILD core/gcc/PKGBUILD core/glibc/PKGBUILD core/linux-api-headers/PKGBUILD extra/krusader/PKGBUILD extra/libproxy/PKGBUILD extra/libreoffice/PKGBUILD extra/openal/PKGBUILD extra/postgresql/PKGBUILD extra/razor/PKGBUILD extra/subversion/PKGBUILD extra/swt/PKGBUILD extra/valgrind/PKGBUILD kde-unstable/kdebase-runtime/PKGBUILD kde-unstable/kdenetwork/PKGBUILD kde-unstable/kdepim-runtime/PKGBUILD libre/kernel26-libre/PKGBUILD multilib/binutils-multilib/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-glibc/PKGBUILD testing/git/PKGBUILD testing/graphviz/PKGBUILD testing/graphviz/install testing/perl-xml-parser/PKGBUILD
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 d71ec3d29..d2e9c663b 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' 'mips64el')
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
}