diff --git a/srcpkgs/perl-Alien-Libxml2/template b/srcpkgs/perl-Alien-Libxml2/template new file mode 100644 index 00000000000..36c7e634f11 --- /dev/null +++ b/srcpkgs/perl-Alien-Libxml2/template @@ -0,0 +1,21 @@ +# Template file for 'perl-Alien-Libxml2' +pkgname=perl-Alien-Libxml2 +version=0.19 +revision=1 +build_style=perl-module +hostmakedepends="perl perl-Alien-Build pkg-config" +makedepends="perl libxml2-devel" +depends="libxml2-devel" +checkdepends="perl-Test2-Suite" +short_desc="Install the C libxml2 library on your system" +maintainer="Leah Neukirchen " +license="Artistic-1.0-Perl, GPL-1.0-or-later" +homepage="https://metacpan.org/release/Alien-Libxml2" +distfiles="${CPAN_SITE}/Alien/${pkgname/perl-/}-${version}.tar.gz" +checksum=f4a674099bbd5747c0c3b75ead841f3b244935d9ef42ba35368024bd611174c9 + +post_extract() { + # Strip out unnecessary crap. + vsed -i -e '/Alien::Build::Plugin::Download::GitLab/d' Makefile.PL + vsed -i -e '/::GitLab/,/);/d' alienfile +}