From 5d0dba26c9f9154d6897d0f7102b46f1c9e0210b Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 31 May 2018 18:34:31 +0000 Subject: perl-xml-sax-expat: initial --- abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD diff --git a/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD b/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD new file mode 100644 index 0000000..2baf727 --- /dev/null +++ b/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Sergej Pupykin +# Contributor: Francois Charette + +pkgname=perl-xml-sax-expat +pkgver=0.51 +pkgrel=5 +pkgdesc="SAX2 Driver for Expat (XML::Parser) " +arch=('any') +url="http://search.cpan.org/dist/XML-SAX-Expat" +license=('GPL' 'PerlArtistic') +depends=('perl-xml-namespacesupport' 'perl-xml-parser' 'perl-xml-sax') +install=perl-xml-sax-expat.install +options=('!emptydirs') +source=(https://www.cpan.org/authors/id/B/BJ/BJOERN/XML-SAX-Expat-$pkgver.tar.gz) +sha256sums=('4c016213d0ce7db2c494e30086b59917b302db8c292dcd21f39deebd9780c83f') + +build() { + cd "$srcdir"/XML-SAX-Expat-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} +package(){ + cd "$srcdir"/XML-SAX-Expat-$pkgver + make pure_install doc_install DESTDIR="$pkgdir" + find "$pkgdir" -name '.packlist' -delete + find "$pkgdir" -name '*.pod' -delete +} -- cgit v0.12