summaryrefslogtreecommitdiff
path: root/community/perl-xml-fast
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-28 01:39:44 -0700
committerroot <root@rshg054.dnsready.net>2012-09-28 01:39:44 -0700
commit3edc42216fee4bb8237aa128510c32ceb77dfd8f (patch)
tree1745e2804c7f439fdb27aefa6f4a6884f0442727 /community/perl-xml-fast
parentbd8faf795abf6d91abdc52bc968829cc2efae4bb (diff)
Fri Sep 28 01:39:41 PDT 2012
Diffstat (limited to 'community/perl-xml-fast')
-rw-r--r--community/perl-xml-fast/PKGBUILD32
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..ced5668d1
--- /dev/null
+++ b/community/perl-xml-fast/PKGBUILD
@@ -0,0 +1,32 @@
+$Id: PKGBUILD 76693 2012-09-27 04:18:50Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: trizen .= x@gmail.com
+
+pkgname=perl-xml-fast
+pkgver=0.11
+pkgrel=3
+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
+}