summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-05-31 18:34:31 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-05-31 18:34:31 (GMT)
commit5d0dba26c9f9154d6897d0f7102b46f1c9e0210b (patch)
tree21d9c3d9ada6593018efce921997644b28fd374f /abs/core
parentd9b85d6b6317c62b4716efd14b193df9ea7d47e0 (diff)
downloadlinhes_pkgbuild-5d0dba26c9f9154d6897d0f7102b46f1c9e0210b.zip
linhes_pkgbuild-5d0dba26c9f9154d6897d0f7102b46f1c9e0210b.tar.gz
linhes_pkgbuild-5d0dba26c9f9154d6897d0f7102b46f1c9e0210b.tar.bz2
perl-xml-sax-expat: initial
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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 <pupykin.s+arch@gmail.com>
+# Contributor: Francois Charette <firmicus@gmx.net>
+
+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
+}