# Description: SAX2 XML Writer # URL: https://github.com/perigrin/xml-sax-writer # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: p5-xml-filter-buffertext p5-xml-namespacesupport p5-xml-sax-base name=p5-xml-sax-writer version=0.57 release=1 source=(http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-${version}.tar.gz) build() { cd XML-SAX-Writer-$version # PERL_MM_USE_DEFAULT=1 \ perl Makefile.PL make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install find "$PKG" -depth \ -type f \( -name .packlist -o -name \*.bs -o -name perllocal.pod \) -delete , \ -type f -name autosplit.ix \( -exec grep -q '^[[:space:]]*package' {} \; -o -delete \) , \ -type d -empty -exec rmdir {} + }