blob: 257b369a6b535dba76c781b6f794d920f14a2b3f (
plain) (
tree)
|
|
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-xml-parser
_pkgreal=XML-Parser
_author=TODDR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.46
pkgrel=0
pkgdesc="Perl module for parsing XML documents"
url="https://metacpan.org/release/XML-Parser"
arch="all"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-libwww"
makedepends="perl-dev expat-dev"
subpackages="$pkgname-doc"
source="http://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
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="c4609495cc5ca34952f61876a690ef76d42eee6689d1bedb8036c9eab918525ec5213f1639c7178c029ee0f8765a2ca5eb0197f6e39b8be6d5dbc3f3c1d0b389 XML-Parser-2.46.tar.gz"
|