upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / perl-xml-sax-writer / trunk / PKGBUILD
blobb123f93fb9aa3d1357ccea0186207ab97b44230a
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
4 pkgname=perl-xml-sax-writer
5 pkgver=0.57
6 pkgrel=2
7 pkgdesc="XML-SAX-Writer perl module (SAX2 writer)"
8 arch=("any")
9 url="https://search.cpan.org/dist/XML-SAX-Writer/"
10 license=("PerlArtistic")
11 depends=('perl' 'perl-text-iconv' 'perl-xml-filter-buffertext')
12 options=(!emptydirs)
13 source=(https://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-SAX-Writer-$pkgver.tar.gz)
14 sha256sums=('3d61d07ef43b0126f5b4de4f415a256fa859fa88dc4fdabaad70b7be7c682cf0')
16 build() {
17   cd "$srcdir"/XML-SAX-Writer-${pkgver}
18   # Install module into the vendor directories.
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
21   make test
24 package() {
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