24 lines
790 B
Bash
24 lines
790 B
Bash
# Template file for 'perl-Alien-Libxml2'
|
|
pkgname=perl-Alien-Libxml2
|
|
version=0.20
|
|
revision=1
|
|
build_style=perl-module
|
|
hostmakedepends="perl perl-Alien-Build pkg-config"
|
|
makedepends="perl libxml2-devel"
|
|
depends="libxml2-devel"
|
|
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=56aae7b339bbeb02f77c5801f57a821be5791b51f43bf7f9062bb3bfa444c328
|
|
|
|
# Ignore version checks, our libxml2 is fine.
|
|
export FORCE=1
|
|
|
|
post_extract() {
|
|
# Strip out unnecessary crap.
|
|
vsed -i -e '/Alien::Build::Plugin::Download::GitLab/d' Makefile.PL
|
|
vsed -i -e '/::GitLab/,/);/d' alienfile
|
|
}
|