summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules')
-rw-r--r--abs/core/perl_modules/perl-xml-simple/PKGBUILD23
-rw-r--r--abs/core/perl_modules/perl-xml-simple/__changelog1
2 files changed, 13 insertions, 11 deletions
diff --git a/abs/core/perl_modules/perl-xml-simple/PKGBUILD b/abs/core/perl_modules/perl-xml-simple/PKGBUILD
index 98e3428..5d5b910 100644
--- a/abs/core/perl_modules/perl-xml-simple/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-simple/PKGBUILD
@@ -1,26 +1,27 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# $Id: PKGBUILD 87823 2010-08-18 11:13:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: kleptophobiac@gmail.com
pkgname=perl-xml-simple
_realname=XML-Simple
pkgver=2.18
-pkgrel=2
+pkgrel=3
pkgdesc="Simple XML parser for perl"
-arch=(i686 x86_64)
+arch=(any)
license=('PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
-depends=('perlxml' 'perl>=5.10.0')
+depends=('perl-xml-parser' 'perl>=5.10.0')
options=('!emptydirs')
source=(ftp://ftp.cpan.org/pub/CPAN/authors/id/G/GR/GRANTM/${_realname}-${pkgver}.tar.gz)
md5sums=('593aa8001e5c301cdcdb4bb3b63abc33')
build() {
- cd ${startdir}/src/${_realname}-${pkgver}
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
-
- find ${startdir}/pkg -name '.packlist' -delete
- find ${startdir}/pkg -name 'perllocal.pod' -delete
+ cd "${srcdir}/${_realname}-${pkgver}"
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+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
new file mode 100644
index 0000000..93bb26d
--- /dev/null
+++ b/abs/core/perl_modules/perl-xml-simple/__changelog
@@ -0,0 +1 @@
+change perl dep to 'perl>=5.10.0'