diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:43:32 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:43:32 (GMT) |
commit | ca13f9d44cf30d733e376d95a2119653bdcdb7fd (patch) | |
tree | e58fdb3a2507b8ddf9c83da9e70d60230c533b26 /abs/core/perl_modules/perl-xml-simple/PKGBUILD | |
parent | 8ca22a86c6103a2bec3b630b1b3348b9b33fb917 (diff) | |
download | linhes_pkgbuild-ca13f9d44cf30d733e376d95a2119653bdcdb7fd.zip linhes_pkgbuild-ca13f9d44cf30d733e376d95a2119653bdcdb7fd.tar.gz linhes_pkgbuild-ca13f9d44cf30d733e376d95a2119653bdcdb7fd.tar.bz2 |
perl-xml-simple: upgrade
Diffstat (limited to 'abs/core/perl_modules/perl-xml-simple/PKGBUILD')
-rw-r--r-- | abs/core/perl_modules/perl-xml-simple/PKGBUILD | 23 |
1 files changed, 12 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 } + |