summaryrefslogblamecommitdiff
path: root/user/perl-xml-sax/APKBUILD
blob: 0103e06ec8b45dbb38c45e39d7d8623b66c941fa (plain) (tree)
1
2
3
4


                                                                   
           














                                                                               




                                                                 



                 



                                                                           

                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-xml-sax
pkgver=1.02
pkgrel=0
pkgdesc="Perl SAX parser"
url="https://metacpan.org/release/XML-SAX"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-xml-namespacesupport perl-xml-sax-base"
makedepends="perl-dev"
install="$pkgname.post-install $pkgname.pre-deinstall"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-$pkgver.tar.gz
	install-fix.patch
	"
builddir="$srcdir/XML-SAX-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="bb30ddbbcf27803825d2f0936257e102999a197cb14bd77fa8b7a469f3a24fb7d861ef4eb03230e5581e4ed88beb8676cbb907b2cb63e9ef1a64b2c211ebdc5a  XML-SAX-1.02.tar.gz
3e9dad12d33111203153739326e784ffc3597ce78ef10cbfe9efa3151d892bac7aaaff085a92a2f9229b4fdcc0aeccbb3155ca1eebe4963b47fcd3ca16836c14  install-fix.patch"