From 3684cd93ac415af57b504471d39c7c93fe5bee71 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Fri, 13 Mar 2009 23:55:36 -0500
Subject: Adding missing perl module perl-locale-gettext

---
 .../perl_modules/perl-locale-gettext/PKGBUILD      | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 abs/core-testing/perl_modules/perl-locale-gettext/PKGBUILD

diff --git a/abs/core-testing/perl_modules/perl-locale-gettext/PKGBUILD b/abs/core-testing/perl_modules/perl-locale-gettext/PKGBUILD
new file mode 100644
index 0000000..22efcb7
--- /dev/null
+++ b/abs/core-testing/perl_modules/perl-locale-gettext/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Contributor: Mark Rosenstand <mark@borkware.net>
+# Maintainer: Paul Mattal <paul@archlinux.org>
+
+pkgname=perl-locale-gettext
+_realname=gettext
+pkgver=1.05
+pkgrel=3
+pkgdesc="Permits access from Perl to the gettext() family of functions."
+arch=(i686 x86_64)
+license=('GPL' 'PerlArtistic')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('gettext' 'perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz)
+md5sums=('f3d3f474a1458f37174c410dfef61a46')
+
+build() {
+  cd ${startdir}/src/${_realname}-${pkgver} || return 1
+  # install module in vendor directories.
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+  make MAN1EXT=1p MAN3EXT=3pm  || return 1
+  make install MAN1EXT=1p MAN3EXT=3pm DESTDIR=${startdir}/pkg || return 1
+
+  # remove perllocal.pod and .packlist
+  find ${startdir}/pkg -name perllocal.pod -delete
+  find ${startdir}/pkg -name .packlist -delete
+}
-- 
cgit v0.12

