summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD')
-rw-r--r--abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD b/abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD
new file mode 100644
index 0000000..3780531
--- /dev/null
+++ b/abs/core/perl_modules/perl-xml-libxml-common/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-xml-libxml-common
+pkgver=0.13
+pkgrel=3
+pkgdesc="Routines and Constants common for XML::LibXML and XML::GDOME"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~PHISH/XML-LibXML-Common"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0' 'libxml2')
+provides=('perl-libxml-common')
+replaces=('perl-libxml-common')
+conflicts=('perl-libxml-common')
+options=('!emptydirs')
+source=(http://www.cpan.org/authors/id/P/PH/PHISH/XML-LibXML-Common-$pkgver.tar.gz)
+md5sums=('13b6d93f53375d15fd11922216249659')
+
+build() {
+ cd $startdir/src/XML-LibXML-Common-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=$startdir/pkg || return 1
+ find $startdir/pkg -name '.packlist' -delete
+ find $startdir/pkg -name '*.pod' -delete
+}