From 7f0a6105ff6d3ca9f318dc0a11d4fc3f0a344586 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Mon, 23 Jan 2023 13:26:47 -0500 Subject: perl-xml-dom: dep of xmltv --- linhes/perl-xml-dom/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 linhes/perl-xml-dom/PKGBUILD diff --git a/linhes/perl-xml-dom/PKGBUILD b/linhes/perl-xml-dom/PKGBUILD new file mode 100644 index 0000000..f2e4a8c --- /dev/null +++ b/linhes/perl-xml-dom/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Brian Bidulock +# Contributor: kfgz +# Contributor: François Charette + +pkgname=perl-xml-dom +pkgver=1.46 +pkgrel=1 +pkgdesc="Implements Level 1 of W3's DOM" +arch=('any') +url="http://search.cpan.org/dist/XML-DOM" +license=('GPL' 'PerlArtistic') +#'perlxml>=2.30' +depends=('perl-xml-regexp' 'libxml-perl>=0.07' 'perl-libwww') +options=('!emptydirs') +source=(http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-${pkgver}.tar.gz) +md5sums=('91ec808de616a2af54a5118619f8f9cc') + +build() { + cd ${srcdir}/XML-DOM-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd ${srcdir}/XML-DOM-${pkgver} + make install DESTDIR=${pkgdir} + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} -- cgit v0.12