summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-08-05 00:31:01 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-08-05 00:31:01 (GMT)
commit9ab2d21e911b81ae3d223e8c04b026c99989f70c (patch)
tree5ddd6db9e7f0500083853db16ad5e4c46f50d1a6 /abs
parent74446333a41f97880efeab3796a5a86923521ccf (diff)
downloadlinhes_pkgbuild-9ab2d21e911b81ae3d223e8c04b026c99989f70c.zip
linhes_pkgbuild-9ab2d21e911b81ae3d223e8c04b026c99989f70c.tar.gz
linhes_pkgbuild-9ab2d21e911b81ae3d223e8c04b026c99989f70c.tar.bz2
perl-xml-twig: Bump to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/perl_modules/perl-xml-twig/PKGBUILD26
1 files 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
}