Date: Friday, February 14, 2014 @ 04:11:05 Author: eric Revision: 205922
upgpkg: perl-mailtools 2.13-1 Upstream update, Clean up PKGBUILD Modified: perl-mailtools/trunk/PKGBUILD ----------+ PKGBUILD | 47 +++++++++++++++++------------------------------ 1 file changed, 17 insertions(+), 30 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-14 03:03:11 UTC (rev 205921) +++ PKGBUILD 2014-02-14 03:11:05 UTC (rev 205922) @@ -1,43 +1,30 @@ -# Packager: Justin Davis (juster) <[email protected]> # $Id$ +# Maintainer: pkgname=perl-mailtools -pkgver=2.12 +pkgver=2.13 pkgrel=1 -pkgdesc='Various e-mail related modules' -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=(perl-timedate) -url=https://metacpan.org/release/MailTools +pkgdesc="Various e-mail related modules" +arch=('any') +url="https://metacpan.org/release/MailTools" +license=('PerlArtistic' 'GPL') +depends=('perl-timedate') +options=('!emptydirs') source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MailTools-$pkgver.tar.gz") -md5sums=('b233a5723a0f5680d8ddd4dfdcb14c14') +sha1sums=('48994a6762dcefece6c39e5df327b755d28bd21b') -build() -( +build() { cd MailTools-$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 MailTools-$pkgver - export PERL_MM_USE_DEFAULT=1 - unset PERL5LIB make test -) +} -package() -( +package() { cd MailTools-$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 +}
