22 lines
760 B
Bash
22 lines
760 B
Bash
# 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 <leah@vuxu.org>"
|
|
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
|
|
}
|