Date: Monday, September 30, 2013 @ 00:15:36 Author: jsteel Revision: 97807
upgpkg: perl-test-fatal 0.013-1 Modified: perl-test-fatal/trunk/PKGBUILD ----------+ PKGBUILD | 50 +++++++++++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-09-29 22:09:14 UTC (rev 97806) +++ PKGBUILD 2013-09-29 22:15:36 UTC (rev 97807) @@ -1,46 +1,42 @@ -# Maintainer: Justin Davis (juster) <[email protected]> # $Id$ +# Maintainer: Jonathan Steel <[email protected]> +# Contributor: Justin Davis (juster) <[email protected]> pkgname=perl-test-fatal -pkgver=0.010 +pkgver=0.013 pkgrel=1 -pkgdesc='incredibly simple helpers for testing code with exceptions' -arch=(any) -license=(PerlArtistic GPL) -options=(!emptydirs) -depends=('perl-try-tiny>=0.07') -url=https://metacpan.org/release/Test-Fatal -source=("http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-$pkgver.tar.gz") -md5sums=(d8052d4160e8d999cbeb574592f26541) -sha512sums=(24ed85a957e316f49673613295978ff4f2485f762427a8e51594221fe7601d6df3ab1d92dd5a9a8943cce42a04a3a712b781a7ae31403995a03bbf177006edf6) -_dir="$srcdir/Test-Fatal-$pkgver" +pkgdesc="Incredibly simple helpers for testing code with exceptions" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-try-tiny') +url="https://metacpan.org/release/Test-Fatal" +source=(http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Fatal-$pkgver.tar.gz) +md5sums=('e3d13b3c7e42f4574c843aca5d9f4570') -build() -( - cd "$_dir" +build() ( + cd "$srcdir/Test-Fatal-$pkgver" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL make ) -check() -( - cd "$_dir" +check() ( + cd "$srcdir/Test-Fatal-$pkgver" + export PERL_MM_USE_DEFAULT=1 unset PERL5LIB + make test ) -package() -( - cd "$_dir" +package() ( + cd "$srcdir/Test-Fatal-$pkgver" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete ) - -# Local Variables: -# mode: shell-script -# sh-basic-offset: 2 -# End: -# vim:set ts=2 sw=2 et:
