Date: Tuesday, August 6, 2013 @ 00:16:18 Author: eric Revision: 95121
upgpkg: cpanminus 1.6936-1 Upstream update, Clean up PKGBUILD Modified: cpanminus/trunk/PKGBUILD ----------+ PKGBUILD | 46 ++++++++++++++++------------------------------ 1 file changed, 16 insertions(+), 30 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-08-05 21:00:30 UTC (rev 95120) +++ PKGBUILD 2013-08-05 22:16:18 UTC (rev 95121) @@ -1,44 +1,30 @@ -# Maintainer: Justin Davis (juster) <[email protected]> # $Id$ +# Maintainer: pkgname=cpanminus -pkgver=1.6008 +pkgver=1.6936 pkgrel=1 -pkgdesc='Get, unpack, build and install modules from CPAN.' -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=(perl) -provides=("perl-app-cpanminus=$pkgver") +pkgdesc='Get, unpack, build and install modules from CPAN' +arch=('any') url="https://metacpan.org/release/App-cpanminus" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/App-cpanminus-$pkgver.tar.gz") -md5sums=('5c0e9008300490529aadff772a45f152') +md5sums=('cc3495f1797eb762c480c560419f6a1f') -build() -( +build() { cd App-cpanminus-$pkgver - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL + perl Makefile.PL INSTALLDIRS=vendor make -) +} -check() -( +check() { cd App-cpanminus-$pkgver - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB make test -) +} -package() -( +package() { cd App-cpanminus-$pkgver - make install INSTALLDIRS=vendor DESTDIR="$pkgdir" -) - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: + make DESTDIR="$pkgdir" install +}
