diff options
Diffstat (limited to 'extra/perl-libintl-perl/PKGBUILD')
-rw-r--r-- | extra/perl-libintl-perl/PKGBUILD | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/extra/perl-libintl-perl/PKGBUILD b/extra/perl-libintl-perl/PKGBUILD index e7061cdba..10f344716 100644 --- a/extra/perl-libintl-perl/PKGBUILD +++ b/extra/perl-libintl-perl/PKGBUILD @@ -1,33 +1,33 @@ -# $Id: PKGBUILD 125264 2011-05-25 19:18:10Z foutrelis $ +# $Id: PKGBUILD 160537 2012-06-02 10:27:49Z bluewind $ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Tobias Kieslich <tobias@justdreams.de> pkgname=perl-libintl-perl _realname=libintl-perl pkgver=1.20 -pkgrel=3 +pkgrel=4 pkgdesc="Perl Module: Localization support" arch=('i686' 'x86_64' 'mips64el') license=('LGPL') url="http://search.cpan.org/dist/${_realname}/" -depends=('gettext' 'perl>=5.10.0') +depends=('gettext' 'perl') options=(!emptydirs) source=(http://www.cpan.org/authors/id/G/GU/GUIDO/${_realname}-$pkgver.tar.gz) md5sums=('cb36f58a7d2e15974f25b35381548b1b') build() { - cd ${srcdir}/${_realname}-$pkgver + cd "${srcdir}/${_realname}-$pkgver" # install module in vendor directories. perl Makefile.PL INSTALLDIRS=vendor make +} + +check() { + cd "${srcdir}/${_realname}-$pkgver" make test } package() { - cd ${srcdir}/${_realname}-$pkgver - make install DESTDIR=${pkgdir} - - # remove perllocal.pod and .packlist - find ${pkgdir} -name perllocal.pod -delete - find ${pkgdir} -name .packlist -delete + cd "${srcdir}/${_realname}-$pkgver" + make install DESTDIR="${pkgdir}" } |