summaryrefslogtreecommitdiff
path: root/community-testing/perl-xml-libxml/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/perl-xml-libxml/PKGBUILD')
-rw-r--r--community-testing/perl-xml-libxml/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community-testing/perl-xml-libxml/PKGBUILD b/community-testing/perl-xml-libxml/PKGBUILD
new file mode 100644
index 000000000..f3556136c
--- /dev/null
+++ b/community-testing/perl-xml-libxml/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 71460 2012-05-27 07:42:23Z bluewind $
+# Maintainer: Justin "juster" Davis <jrcd83@gmail.com>
+# Contributor: François Charette <francois.archlinux.org>
+
+pkgname=perl-xml-libxml
+pkgver=1.98
+pkgrel=1
+pkgdesc="Interface to the libxml library"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/XML-LibXML"
+license=('GPL')
+depends=('libxml2' 'perl-xml-sax>=0.11' 'perl-xml-namespacesupport>=1.07')
+provides=('perl-libxml' 'perl-xml-libxml-common')
+replaces=('perl-libxml' 'perl-xml-libxml-common')
+conflicts=('perl-libxml' 'perl-xml-libxml-common')
+install=perl-xml-libxml.install
+source=(http://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
+md5sums=('78c2e293d02e92ca99b07e9a768380ca')
+
+build() {
+ cd $srcdir/XML-LibXML-$pkgver
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd $srcdir/XML-LibXML-$pkgver
+ make test
+}
+
+package() {
+ cd $srcdir/XML-LibXML-$pkgver
+ make pure_install doc_install DESTDIR=$pkgdir
+}