Date: Tuesday, November 23, 2010 @ 21:18:32 Author: kevin Revision: 100547
upgpkg: perl-digest-sha1 2.13-1 Updated to 5.12.2 Modified: perl-digest-sha1/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2010-11-24 01:37:48 UTC (rev 100546) +++ PKGBUILD 2010-11-24 02:18:32 UTC (rev 100547) @@ -1,10 +1,10 @@ # $Id$ -# Maintainer: Kevin Piche <[email protected]> +# Maintainer: kevin <[email protected]> # Contributor: Manolis Tzanidakis pkgname=perl-digest-sha1 _realname=Digest-SHA1 -pkgver=2.12 +pkgver=2.13 pkgrel=1 pkgdesc="Perl interface to the SHA-1 Algorithm" arch=(i686 x86_64) @@ -15,15 +15,22 @@ source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_realname}-${pkgver}.tar.gz) replaces=('digest-sha1') provides=('digest-sha1') -md5sums=('eeb0292868801a202bd7ead87b291374') +md5sums=('bd22388f268434f2b24f64e28bf1aa35') build() { cd ${srcdir}/${_realname}-${pkgver} + # install module in vendor directories. - perl Makefile.PL INSTALLDIRS=vendor || return 1 - make || return 1 - make install DESTDIR=${pkgdir} || return 1 + perl Makefile.PL INSTALLDIRS=vendor + make + 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
