Date: Wednesday, November 30, 2011 @ 16:34:09 Author: giovanni Revision: 143935
upgpkg: perl-locale-gettext 1.05-8 rebuild Modified: perl-locale-gettext/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-11-30 21:30:13 UTC (rev 143934) +++ PKGBUILD 2011-11-30 21:34:09 UTC (rev 143935) @@ -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') 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 @@ # install module in vendor directories. PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test }