db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-xml-libxml / trunk / PKGBUILD
blob9a832d1ce398177e6a6b468f7fc6afbc7531f705
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Jonathan Steel <jsteel@aur.archlinux.org>
3 # Contributor: Justin "juster" Davis <jrcd83@gmail.com>
4 # Contributor: François Charette <francois.archlinux.org>
6 pkgname=perl-xml-libxml
7 pkgver=2.0208
8 pkgrel=1
9 pkgdesc="Interface to the libxml library"
10 arch=('x86_64')
11 url="https://search.cpan.org/dist/XML-LibXML"
12 license=('GPL')
13 depends=('perl-alien-libxml2' 'perl-xml-sax' 'perl-xml-namespacesupport')
14 checkdepends=('perl-test-pod' 'perl-test-leaktrace' 'perl-cpan-changes' 'perl-uri')
15 provides=('perl-libxml' 'perl-xml-libxml-common')
16 replaces=('perl-libxml' 'perl-xml-libxml-common')
17 options=('!emptydirs')
18 install=perl-xml-libxml.install
19 source=(https://www.cpan.org/authors/id/S/SH/SHLOMIF/XML-LibXML-$pkgver.tar.gz)
20 sha512sums=('b8407359b9111b43247cc57b6e9e54c4e99402c9b7e939e49beb752be8fd1ce0e31a98e07dd5d1f7eaa7e37aae25571c38a14792f9e5a64c1533a0387c71423d')
22 build() {
23   cd XML-LibXML-$pkgver
24   perl Makefile.PL INSTALLDIRS=vendor
25   make
28 check() {
29   cd XML-LibXML-$pkgver
30   make test
33 package() {
34   cd XML-LibXML-$pkgver
35   make pure_install doc_install DESTDIR="$pkgdir"/