1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
4 pkgname=perl-xml-sax-writer
7 pkgdesc="XML-SAX-Writer perl module (SAX2 writer)"
9 url="https://search.cpan.org/dist/XML-SAX-Writer/"
10 license=("PerlArtistic")
11 depends=('perl' 'perl-text-iconv' 'perl-xml-filter-buffertext')
13 source=(https://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-$pkgver.tar.gz)
14 sha256sums=('3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0')
17 cd "$srcdir"/XML-SAX-Writer-${pkgver}
18 # Install module into the vendor directories.
19 perl Makefile.PL INSTALLDIRS=vendor
25 cd "$srcdir"/XML-SAX-Writer-${pkgver}
26 make DESTDIR="$pkgdir" install
28 # Remove .packlist and perllocal.pod files.
29 find "$pkgdir" -name '.packlist' -delete
30 find "$pkgdir" -name 'perllocal.pod' -delete