Date: Tuesday, August 6, 2013 @ 02:44:10 Author: eric Revision: 192106
upgpkg: perl-common-sense 3.72-1 Upstream update, Clean up PKGBUILD, Improve description Modified: perl-common-sense/trunk/PKGBUILD ----------+ PKGBUILD | 54 ++++++++++++++++++++---------------------------------- 1 file changed, 20 insertions(+), 34 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-08-05 21:15:50 UTC (rev 192105) +++ PKGBUILD 2013-08-06 00:44:10 UTC (rev 192106) @@ -1,44 +1,30 @@ -# Packager: Justin Davis (juster) <[email protected]> # $Id$ +# Maintainer: pkgname=perl-common-sense -pkgver=3.6 +pkgver=3.72 pkgrel=1 -pkgdesc='save a tree AND a kitten, use common::sense!' -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=(perl) -url=http://search.cpan.org/dist/common-sense +pkgdesc="Implements some sane defaults for Perl programs" +arch=('any') +url="http://search.cpan.org/dist/common-sense" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-$pkgver.tar.gz") -md5sums=('9332e9fe85b0bce8c287a0429d164809') -_dir="$srcdir/common-sense-$pkgver" +md5sums=('9558981f345e6874c1b03d148a45953e') -build() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps - unset PERL5LIB PERL_MM_OPT - /usr/bin/perl Makefile.PL +build() { + cd common-sense-$pkgver + perl Makefile.PL INSTALLDIRS=vendor make -) +} -check() -( - cd "$_dir" - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB +check() { + cd common-sense-$pkgver make test -) +} -package() -( - cd "$_dir" - make install INSTALLDIRS=vendor DESTDIR="$pkgdir" -) - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et: +package() { + cd common-sense-$pkgver + make DESTDIR="$pkgdir" install +}
