diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/perl-xml-fast/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/perl-xml-fast/PKGBUILD')
-rw-r--r-- | community/perl-xml-fast/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/perl-xml-fast/PKGBUILD b/community/perl-xml-fast/PKGBUILD new file mode 100644 index 000000000..79df32a7a --- /dev/null +++ b/community/perl-xml-fast/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 91701 2013-05-26 09:26:15Z bluewind $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Contributor: trizen .= x@gmail.com + +pkgname=perl-xml-fast +pkgver=0.11 +pkgrel=4 +pkgdesc="Simple and very fast XML to hash conversion." +arch=('x86_64' 'i686') +url="http://search.cpan.org/dist/XML-Fast/" +license=('GPL' 'PerlArtistic') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/M/MO/MONS/XML-Fast-${pkgver}.tar.gz") +md5sums=('a2985cc2f328cf9eda6ad75c3f40f6b3') + +build() { + cd "${srcdir}/XML-Fast-${pkgver}" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + + make +} + +package() { + cd "${srcdir}/XML-Fast-${pkgver}" + + make DESTDIR="${pkgdir}" install + + find ${pkgdir} -name '.packlist' -delete + find ${pkgdir} -name '*.pod' -delete +} |