void-packages/srcpkgs/perl-XML-Parser/template

20 lines
664 B
Bash

# Template build file for 'perl-XML-Parser'.
pkgname=perl-XML-Parser
version=2.46
revision=1
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"
makedepends="perl expat-devel"
depends="perl>=5.20"
short_desc="Perl extension interface to James Clark's XML parser, expat"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Artistic-1.0-Perl, GPL-1.0-or-later"
homepage="https://metacpan.org/release/XML-Parser"
distfiles="${CPAN_SITE}/XML/${pkgname/perl-/}-${version}.tar.gz"
checksum=d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d
post_extract() {
vsed -e '/exit 0;/d' -i Makefile.PL # broken cross check
}