summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/perl_modules
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 04:55:36 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 04:55:36 (GMT)
commit3684cd93ac415af57b504471d39c7c93fe5bee71 (patch)
tree53ca5f38c1e0356ad93730e5d6ae5d34692a048a /abs/core-testing/perl_modules
parent54cd125a36334ab46712725d9ada1ca29abf1453 (diff)
downloadlinhes_pkgbuild-3684cd93ac415af57b504471d39c7c93fe5bee71.zip
linhes_pkgbuild-3684cd93ac415af57b504471d39c7c93fe5bee71.tar.gz
linhes_pkgbuild-3684cd93ac415af57b504471d39c7c93fe5bee71.tar.bz2
Adding missing perl module perl-locale-gettext
Diffstat (limited to 'abs/core-testing/perl_modules')
-rw-r--r--abs/core-testing/perl_modules/perl-locale-gettext/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
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
+}