20 lines
648 B
Plaintext
20 lines
648 B
Plaintext
# Description: An analogue of XML::Simple using libxml
|
|
# URL: https://metacpan.org/release/XML-LibXML-Simple
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: p5-file-slurp-tiny p5-xml-libxml
|
|
|
|
name=p5-xml-libxml-simple
|
|
version=1.01
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/M/MA/MARKOV/XML-LibXML-Simple-$version.tar.gz)
|
|
|
|
build() {
|
|
cd XML-LibXML-Simple-$version
|
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
perl Makefile.PL
|
|
make
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
}
|