[arch-commits] Commit in perl-xml-sax/trunk (PKGBUILD perl-xml-sax.patch)

Giovanni Scafora giovanni at archlinux.org
Fri Oct 7 12:37:08 EDT 2011


    Date: Friday, October 7, 2011 @ 12:37:08
  Author: giovanni
Revision: 140131

upgpkg: perl-xml-sax 0.99-1

upstream release

Modified:
  perl-xml-sax/trunk/PKGBUILD
  perl-xml-sax/trunk/perl-xml-sax.patch

--------------------+
 PKGBUILD           |   19 +++++++++++--------
 perl-xml-sax.patch |    9 +++++----
 2 files changed, 16 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-10-07 15:51:39 UTC (rev 140130)
+++ PKGBUILD	2011-10-07 16:37:08 UTC (rev 140131)
@@ -3,8 +3,8 @@
 # Contributor: François Charette <firmicus ατ gmx δοτ net>
 
 pkgname=perl-xml-sax
-pkgver=0.96
-pkgrel=3
+pkgver=0.99
+pkgrel=1
 pkgdesc="Simple API for XML"
 arch=('any')
 url="http://search.cpan.org/dist/XML-SAX"
@@ -12,17 +12,20 @@
 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=('bdcd4119a62505184e211e9dfaef0ab1'
-         'b8ad2da4195ac0eede28dfaed4d874c3')
+source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz"
+        'perl-xml-sax.patch') 
+md5sums=('290f5375ae87fdebfdb5bc3854019f24'
+         'f114c4aad3221d3e7d8314d13b84a869')
 
 build() {
-  cd  $srcdir
-  patch -p0 < perl-xml-sax.patch
-
   cd  $srcdir/XML-SAX-$pkgver
+  patch -Np1 -i "${srcdir}/perl-xml-sax.patch"
   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
   make
+}
+
+check() {
+  cd  $srcdir/XML-SAX-$pkgver
   make test
 }
 

Modified: perl-xml-sax.patch
===================================================================
--- perl-xml-sax.patch	2011-10-07 15:51:39 UTC (rev 140130)
+++ perl-xml-sax.patch	2011-10-07 16:37:08 UTC (rev 140131)
@@ -1,9 +1,10 @@
---- 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 @@
+--- a/Makefile.PL	2011-09-04 23:37:48.000000000 +0200
++++ b/Makefile.PL	2011-10-07 18:12:50.000000000 +0200
+@@ -12,43 +12,3 @@
+         'XML::NamespaceSupport' => 0.03,
      },    
  );
- 
+-
 -sub MY::install {
 -    package MY;
 -    my $script = shift->SUPER::install(@_);



More information about the arch-commits mailing list