diff options
Diffstat (limited to 'extra/perl-locale-gettext/PKGBUILD')
-rw-r--r-- | extra/perl-locale-gettext/PKGBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/extra/perl-locale-gettext/PKGBUILD b/extra/perl-locale-gettext/PKGBUILD index 7f320215a..a609c7a9f 100644 --- a/extra/perl-locale-gettext/PKGBUILD +++ b/extra/perl-locale-gettext/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 125267 2011-05-25 19:18:48Z foutrelis $ +# $Id: PKGBUILD 143936 2011-11-30 21:34:33Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Mark Rosenstand <mark@borkware.net> # Contributor: Paul Mattal <paul@archlinux.org> @@ -6,15 +6,15 @@ pkgname=perl-locale-gettext _realname=gettext pkgver=1.05 -pkgrel=7 +pkgrel=8 pkgdesc="Permits access from Perl to the gettext() family of functions" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('gettext' 'perl>=5.10.0') +depends=('gettext' 'perl') options=(!emptydirs) -source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz - compatibility-with-POSIX-module.patch) +source=("http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/${_realname}-${pkgver}.tar.gz" + 'compatibility-with-POSIX-module.patch') md5sums=('f3d3f474a1458f37174c410dfef61a46' '854302f34d01a2f8ae739187788973dd') @@ -25,6 +25,11 @@ build() { # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test } |