blob: d9d645ac24a2cf5ac4aa460c277fc6d088c1c012 (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xml-sax
_pkgreal=XML-SAX
_author=GRANTM
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
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 perl-xml-namespacesupport perl-xml-sax-base"
makedepends="perl-dev"
subpackages="$pkgname-doc"
install="$pkgname.post-install $pkgname.pre-deinstall"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
install-fix.patch
"
builddir="$srcdir/$_pkgreal-$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"
|