archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-xml-sax-base / repos / extra-any / PKGBUILD
blob0157725ffeb723f56a503e9c4b43aaa96ecf74a1
1 # Maintainer: Giovanni Scafora <giovanni@archlinux.org>
2 # Contributor: James Hunt <lazy at brandnewmath dot com>
4 pkgname=perl-xml-sax-base
5 pkgver=1.09
6 pkgrel=5
7 pkgdesc="Base class SAX Drivers and Filters"
8 arch=('any')
9 url="https://search.cpan.org/dist/XML-SAX-Base"
10 license=('GPL' 'PerlArtistic')
11 depends=('perl')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
14 sha256sums=('66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0')
16 build() {
17   cd XML-SAX-Base-$pkgver
18   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd XML-SAX-Base-$pkgver
24   make test
27 package() {
28   cd XML-SAX-Base-$pkgver
29   make install DESTDIR="$pkgdir"
31   find "$pkgdir" -name '.packlist' -delete
32   find "$pkgdir" -name '*.pod' -delete