diff options
Diffstat (limited to 'extra/perl-digest-nilsimsa/PKGBUILD')
-rw-r--r-- | extra/perl-digest-nilsimsa/PKGBUILD | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/extra/perl-digest-nilsimsa/PKGBUILD b/extra/perl-digest-nilsimsa/PKGBUILD index 93d9a56da..c7ee8a74e 100644 --- a/extra/perl-digest-nilsimsa/PKGBUILD +++ b/extra/perl-digest-nilsimsa/PKGBUILD @@ -1,35 +1,35 @@ -# $Id: PKGBUILD 125252 2011-05-25 19:16:38Z foutrelis $ +# $Id: PKGBUILD 160523 2012-06-02 10:27:26Z bluewind $ # Maintainer: kevin <kevin@archlinux.org> # Contributor: Manolis Tzanidakis pkgname=perl-digest-nilsimsa _realname=Digest-Nilsimsa pkgver=0.06 -pkgrel=7 -pkgdesc="Perl version of Nilsimsa code." +pkgrel=8 +pkgdesc="Perl version of Nilsimsa code" arch=('i686' 'x86_64' 'mips64el') license=('LGPL') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') -options=(!emptydirs) -source=(http://www.cpan.org/authors/id/V/VI/VIPUL/${_realname}-${pkgver}.tar.gz) +depends=('perl') replaces=('digest-nilsimsa') provides=('digest-nilsimsa') +options=(!emptydirs) +source=(http://www.cpan.org/authors/id/V/VI/VIPUL/${_realname}-${pkgver}.tar.gz) md5sums=('08e940bd7f5d1167ef3fd1aa7ce234d7') build() { - cd ${srcdir}/${_realname}-${pkgver} - # install module in vendor directories. + cd "${srcdir}/${_realname}-${pkgver}" PERL_MM_USE_DEFAULT=1 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}" } # vim: ts=2 sw=2 et ft=sh |