summaryrefslogtreecommitdiff
path: root/p5-xml-libxml-simple/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2019-08-31 10:40:50 +0000
committerTim Biermann <tbier@posteo.de>2019-08-31 10:40:50 +0000
commit71eb5afa27b711841786fe1b2d97f107ec9bd3bd (patch)
tree1e51d7be72d8c7029ef19cf583905289fd1373f4 /p5-xml-libxml-simple/Pkgfile
parent2a2252736bad793dfe37a199aadcf8800a065fa1 (diff)
downloadcontrib-71eb5afa27b711841786fe1b2d97f107ec9bd3bd.tar.gz
contrib-71eb5afa27b711841786fe1b2d97f107ec9bd3bd.tar.xz
p5-xml-libxml-simple: initial commit, version 0.99
Diffstat (limited to 'p5-xml-libxml-simple/Pkgfile')
-rw-r--r--p5-xml-libxml-simple/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/p5-xml-libxml-simple/Pkgfile b/p5-xml-libxml-simple/Pkgfile
new file mode 100644
index 000000000..ecdc26fb6
--- /dev/null
+++ b/p5-xml-libxml-simple/Pkgfile
@@ -0,0 +1,19 @@
+# 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=0.99
+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
+}

Generated by cgit