diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-01-23 18:26:47 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-01-23 18:26:47 (GMT) |
commit | 7f0a6105ff6d3ca9f318dc0a11d4fc3f0a344586 (patch) | |
tree | af395bb1cb418388799a0c54efb1dae02e2fcf5f /linhes/perl-xml-dom/PKGBUILD | |
parent | 1b28d4879e5c6391dec91de9344c7ce9da918de5 (diff) | |
download | linhes_pkgbuild-7f0a6105ff6d3ca9f318dc0a11d4fc3f0a344586.zip linhes_pkgbuild-7f0a6105ff6d3ca9f318dc0a11d4fc3f0a344586.tar.gz linhes_pkgbuild-7f0a6105ff6d3ca9f318dc0a11d4fc3f0a344586.tar.bz2 |
perl-xml-dom: dep of xmltv
Diffstat (limited to 'linhes/perl-xml-dom/PKGBUILD')
-rw-r--r-- | linhes/perl-xml-dom/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
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 <bidulock@openss7.org> +# Contributor: kfgz <kfgz at interia pl> +# Contributor: François Charette <firmicus at gmx dot net> + +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 +} |