core/perl-xml-namesupport/PKGBUILD

28 lines
861 B
Bash

# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=perl-xml-namespacesupport
pkgver=1.11
pkgrel=2
pkgdesc="Generic namespace helpers (ported from SAX2)"
arch=('any')
url="http://search.cpan.org/dist/XML-NamespaceSupport"
license=('GPL')
depends=('perl')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz)
md5sums=('222cca76161cd956d724286d36b607da')
build() {
cd "${srcdir}/XML-NamespaceSupport-${pkgver}"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR="${pkgdir}" || return 1
find ${pkgdir} -name '.packlist' -delete
find ${pkgdir} -name '*.pod' -delete
}