summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 18:17:09 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 18:17:09 (GMT)
commitce15d4831c6b527476220ab551fb3b3b933d8caf (patch)
tree7296d34c843e55632262fe445d31f698142bd335 /abs/core/perl_modules/perl-xml-sax/PKGBUILD
parentc9848b0bfd0f4cd99a7f7bcba196f15268f9fa11 (diff)
downloadlinhes_pkgbuild-ce15d4831c6b527476220ab551fb3b3b933d8caf.zip
linhes_pkgbuild-ce15d4831c6b527476220ab551fb3b3b933d8caf.tar.gz
linhes_pkgbuild-ce15d4831c6b527476220ab551fb3b3b933d8caf.tar.bz2
perl-xml-sax: update to 1.00
Diffstat (limited to 'abs/core/perl_modules/perl-xml-sax/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-xml-sax/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/abs/core/perl_modules/perl-xml-sax/PKGBUILD b/abs/core/perl_modules/perl-xml-sax/PKGBUILD
index 394b72f..39b6194 100644
--- a/abs/core/perl_modules/perl-xml-sax/PKGBUILD
+++ b/abs/core/perl_modules/perl-xml-sax/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 143956 2011-11-30 22:15:20Z giovanni $
+# $Id$
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: François Charette <firmicus ατ gmx δοτ net>
pkgname=perl-xml-sax
-pkgver=0.99
-pkgrel=3
+pkgver=1.00
+pkgrel=1
pkgdesc="Simple API for XML"
arch=('any')
url="http://search.cpan.org/dist/XML-SAX"
@@ -12,27 +12,24 @@ license=('GPL' 'PerlArtistic')
depends=('perl' 'perl-xml-sax-base' 'perl-xml-namespacesupport')
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=('290f5375ae87fdebfdb5bc3854019f24'
- 'f114c4aad3221d3e7d8314d13b84a869')
+source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz")
+sha512sums=('95553c9693d8a310747b4b86d4e80a58d4056b18cfc334f6979c98d0e9034a34253bfb17daecfc5bb28b1bd65e6baf52136f5135a969fadba86aa4148ea9bc1d')
build() {
- cd $srcdir/XML-SAX-$pkgver
- patch -Np1 -i "${srcdir}/perl-xml-sax.patch"
+ cd XML-SAX-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd $srcdir/XML-SAX-$pkgver
+ cd XML-SAX-$pkgver
make test
}
package() {
- cd $srcdir/XML-SAX-$pkgver
- make install DESTDIR=$pkgdir
+ cd XML-SAX-$pkgver
+ PERLLIB=blib/lib make install DESTDIR="$pkgdir"
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
+ find "$pkgdir" -name '.packlist' -delete
+ find "$pkgdir" -name '*.pod' -delete
}