summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core/perl_modules/perl-xml-simple/PKGBUILD24
-rw-r--r--abs/core/perl_modules/perl-xml-simple/__changelog1
2 files changed, 15 insertions, 10 deletions
diff --git a/abs/core/perl_modules/perl-xml-simple/PKGBUILD b/abs/core/perl_modules/perl-xml-simple/PKGBUILD
index 5d5b910..7c4af54 100644
--- a/abs/core/perl_modules/perl-xml-simple/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-simple/PKGBUILD
@@ -1,27 +1,33 @@
-# $Id: PKGBUILD 87823 2010-08-18 11:13:59Z jgc $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
+# $Id$
+# Maintainer: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: kleptophobiac@gmail.com
pkgname=perl-xml-simple
_realname=XML-Simple
-pkgver=2.18
-pkgrel=3
+pkgver=2.25
+pkgrel=1
pkgdesc="Simple XML parser for perl"
-arch=(any)
+arch=('any')
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
-depends=('perl-xml-parser' 'perl>=5.10.0')
+depends=('perl-xml-sax-expat')
options=('!emptydirs')
-source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz)
-md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')
+source=("ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz")
+sha512sums=('0f1a6a1bdb8f6ac6fa4deef33d09930eb4758b4a3ed4431624004ffa2b1eb02f0d6ce14cb4942162cb76f7aa39fea4ec6a71e1eb9ebd464b710db7024bdd990c')
build() {
cd "${srcdir}/${_realname}-${pkgver}"
perl Makefile.PL INSTALLDIRS=vendor
make
}
+
+check() {
+ cd "${srcdir}/${_realname}-${pkgver}"
+ make test
+}
+
package() {
cd "${srcdir}/${_realname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
-
diff --git a/abs/core/perl_modules/perl-xml-simple/__changelog b/abs/core/perl_modules/perl-xml-simple/__changelog
deleted file mode 100644
index 93bb26d..0000000
--- a/abs/core/perl_modules/perl-xml-simple/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-change perl dep to 'perl>=5.10.0'