diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:43:13 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-07 01:43:13 (GMT) |
commit | 8ca22a86c6103a2bec3b630b1b3348b9b33fb917 (patch) | |
tree | c5eb5b8458d00152487c7da4f5a581e8a9d5add5 /abs/core | |
parent | ec95ece376130c74f4b02cd7579479604a8ba3a1 (diff) | |
download | linhes_pkgbuild-8ca22a86c6103a2bec3b630b1b3348b9b33fb917.zip linhes_pkgbuild-8ca22a86c6103a2bec3b630b1b3348b9b33fb917.tar.gz linhes_pkgbuild-8ca22a86c6103a2bec3b630b1b3348b9b33fb917.tar.bz2 |
perl-xml-sax: upgrade
Diffstat (limited to 'abs/core')
-rw-r--r-- | abs/core/perl_modules/perl-xml-sax/PKGBUILD | 34 | ||||
-rw-r--r-- | abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch | 4 |
2 files changed, 23 insertions, 15 deletions
diff --git a/abs/core/perl_modules/perl-xml-sax/PKGBUILD b/abs/core/perl_modules/perl-xml-sax/PKGBUILD index 016fbef..2a59677 100644 --- a/abs/core/perl_modules/perl-xml-sax/PKGBUILD +++ b/abs/core/perl_modules/perl-xml-sax/PKGBUILD @@ -1,26 +1,34 @@ -# Maintainer: François Charette <firmicus ατ gmx δοτ net> +# $Id: PKGBUILD 67354 2010-02-06 14:10:53Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> +# Contributor: François Charette <firmicus ατ gmx δοτ net> pkgname=perl-xml-sax -pkgver=0.16 -pkgrel=4 +pkgver=0.96 +pkgrel=2 pkgdesc="Simple API for XML " arch=('i686' 'x86_64') -url="http://search.cpan.org/~GRANTM/XML-SAX" +url="http://search.cpan.org/dist/XML-SAX" license=('GPL' 'PerlArtistic') depends=('perl>=5.10.0' 'perl-xml-namespacesupport>=0.03') options=('!emptydirs') -install=(perl-xml-sax.install ) -source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" "perl-xml-sax.patch") -md5sums=('4b07b6a9884f772ee07139b385661e9d' - '17a465d206f8ba43f34ca098d99f05fc') +install=perl-xml-sax.install +source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz" 'perl-xml-sax.patch') +md5sums=('bdcd4119a62505184e211e9dfaef0ab1' + 'b8ad2da4195ac0eede28dfaed4d874c3') build() { - cd $startdir/src + cd $srcdir + patch -p0 < perl-xml-sax.patch || return 1 - cd $startdir/src/XML-SAX-$pkgver + cd $srcdir/XML-SAX-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 - make install DESTDIR=$startdir/pkg || return 1 - find $startdir/pkg -name '.packlist' -delete - find $startdir/pkg -name '*.pod' -delete +} +package() { + cd $srcdir/XML-SAX-$pkgver + make install DESTDIR=$pkgdir || return 1 + + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete } diff --git a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch index 88e653d..b2db7d2 100644 --- a/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch +++ b/abs/core/perl_modules/perl-xml-sax/perl-xml-sax.patch @@ -1,5 +1,5 @@ ---- XML-SAX-0.16/Makefile.PL.orig 2008-04-08 10:36:43.718155829 +0200 -+++ XML-SAX-0.16/Makefile.PL 2008-04-08 10:37:17.347001804 +0200 +--- XML-SAX-0.96/Makefile.PL.orig 2008-08-04 23:07:21.000000000 +0200 ++++ XML-SAX-0.96/Makefile.PL 2008-12-09 11:52:24.806540909 +0100 @@ -12,42 +12,3 @@ }, ); |