summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-sax-expat/PKGBUILD
blob: 2baf727e5b4ef86551813202928684899f15e7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}