[arch-commits] Commit in perl-test-trap/trunk (PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Mon Aug 12 21:20:31 UTC 2013


    Date: Monday, August 12, 2013 @ 23:20:31
  Author: eric
Revision: 95476

upgpkg: perl-test-trap 0.2.2-2

PKGBUILD clean up

Modified:
  perl-test-trap/trunk/PKGBUILD

----------+
 PKGBUILD |   54 +++++++++++++++++++-----------------------------------
 1 file changed, 19 insertions(+), 35 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-08-12 20:33:04 UTC (rev 95475)
+++ PKGBUILD	2013-08-12 21:20:31 UTC (rev 95476)
@@ -1,46 +1,30 @@
-# Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
 # $Id$
+# Maintainer:
 
 pkgname=perl-test-trap
 pkgver=0.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Trap exit codes, exceptions, output, etc.'
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl>=5.6.2' perl-data-dump 'perl-test-tester>=0.107')
-url=https://metacpan.org/release/Test-Trap
+arch=('any')
+url="https://metacpan.org/release/Test-Trap"
+license=('PerlArtistic' 'GPL')
+depends=('perl' 'perl-data-dump' 'perl-test-tester')
+options=('!emptydirs')
 source=("http://search.cpan.org/CPAN/authors/id/E/EB/EBHANSSEN/Test-Trap-v$pkgver.tar.gz")
-md5sums=(26538477cb670aa6c72ad7d3859f670c)
-sha512sums=(4131bdb98e1b327c66c9b01f48a58a7aaba7f4805fcc24642cc5f9b6025650f490f38dd90c92897f6b4e12b0ae3db4c7961946b2b2e5df3207493e435beee7b8)
-_dir="$srcdir/Test-Trap-v$pkgver"
+sha1sums=('2342990b5a96e751cdcea839efcc79a2f2223f3e')
 
-build()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
-  unset PERL5LIB PERL_MM_OPT
-  /usr/bin/perl Makefile.PL
+build() {
+  cd Test-Trap-v$pkgver
+  perl Makefile.PL INSTALLDIRS=vendor
   make
-)
+}
 
-check()
-(
-  cd "$_dir"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
+check() {
+  cd Test-Trap-v$pkgver
   make test
-)
+}
 
-package()
-(
-  cd "$_dir"
-  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:
+package() {
+  cd Test-Trap-v$pkgver
+  make DESTDIR="$pkgdir" install
+}




More information about the arch-commits mailing list