From 9ab2d21e911b81ae3d223e8c04b026c99989f70c Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Thu, 4 Aug 2011 19:31:01 -0500
Subject: perl-xml-twig: Bump to latest.

---
 abs/core/perl_modules/perl-xml-twig/PKGBUILD | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/abs/core/perl_modules/perl-xml-twig/PKGBUILD b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
index b15b94b..b20735d 100644
--- a/abs/core/perl_modules/perl-xml-twig/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-twig/PKGBUILD
@@ -1,26 +1,28 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id$
 # Maintainer: damir <damir@archlinux.org>
 # Maintainer/Contributor: Francois Charette <firmicus@gmx.net>
 
 pkgname=perl-xml-twig
 _realname=XML-Twig
-pkgver=3.32
-pkgrel=2
+pkgver=3.34
+pkgrel=3
 pkgdesc="A module for easy processing of XML"
-arch=('i686' 'x86_64')
+arch=('any')
 url="http://search.cpan.org/dist/${_realname}/"
 license=('GPL' 'PerlArtistic')
-depends=('perlxml>=2.23' 'perl-text-iconv' 'perl>=5.10.0')
+depends=('perl-xml-parser>=2.23' 'perl-text-iconv' 'perl>=5.12.0')
 options=('!emptydirs')
 source=(http://www.cpan.org/authors/id/M/MI/MIROD/${_realname}-${pkgver}.tar.gz) 
-md5sums=('9df9dcab00aa093c4e540caa5cb759fa')
+md5sums=('88a24e3e09b2fc1e252f7662d1291f9a')
 
 build() {
-  cd  $startdir/src/${_realname}-${pkgver}
-  perl Makefile.PL -y INSTALLDIRS=vendor || return 1
-  make  || return 1
-  make DESTDIR=$startdir/pkg install || return 1
+  cd  "${srcdir}/${_realname}-${pkgver}"
+  perl Makefile.PL -y INSTALLDIRS=vendor
+  make
+  make test
+}
 
-  find $startdir/pkg -name '.packlist' -delete
-  find $startdir/pkg -name '*.pod' -delete
+package() {
+  cd  "${srcdir}/${_realname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12

