[arch-commits] Commit in perl-exception-class/trunk (PKGBUILD)

Jaroslav Lichtblau jlichtblau at archlinux.org
Tue Nov 4 18:45:43 UTC 2014


    Date: Tuesday, November 4, 2014 @ 19:45:43
  Author: jlichtblau
Revision: 121872

upgpkg: perl-exception-class 1.39-1

Modified:
  perl-exception-class/trunk/PKGBUILD

----------+
 PKGBUILD |   40 +++++++++++++++++-----------------------
 1 file changed, 17 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-04 18:41:18 UTC (rev 121871)
+++ PKGBUILD	2014-11-04 18:45:43 UTC (rev 121872)
@@ -1,39 +1,33 @@
 # $Id$
-# Maintainer:
+# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
 # Contributor: Maxwell Pray a.k.a. Synthead <synthead at gmail.com>
 # Contributor: Caleb Cushing <xenoterracide at gmail.com>
 
 pkgname=perl-exception-class
-pkgver=1.38
+pkgver=1.39
 pkgrel=1
 pkgdesc='A module that allows you to declare real exception classes in Perl'
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
-depends=('perl>=5.8.1' 'perl-class-data-inheritable>=0.02'
-         'perl-devel-stacktrace>=1.20')
-url=https://metacpan.org/release/Exception-Class
-source=("http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-$pkgver.tar.gz")
-md5sums=(4d7203a95893449f53ccacb385981569)
-_ddir=Exception-Class-$pkgver
+arch=('any')
+url="https://metacpan.org/release/Exception-Class"
+license=('PerlArtistic' 'GPL')
+depends=('perl>=5.8.1' 'perl-class-data-inheritable>=0.02' 'perl-devel-stacktrace>=1.20')
+options=('!emptydirs')
+source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-$pkgver.tar.gz)
+sha256sums=('819c756a69a6d1e31f396eca6a508b07b0a522a035b904cd1d432353cc362083')
 
 build() {
-  cd "$srcdir/$_ddir"
+  cd "${srcdir}"/Exception-Class-$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() {
-  cd "$srcdir/$_ddir"
-  export PERL_MM_USE_DEFAULT=1
-  unset PERL5LIB
-  make test
-}
+package() {
+  cd "${srcdir}"/Exception-Class-$pkgver
 
-package() {
-  cd "$srcdir/$_ddir"
-  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+  make install INSTALLDIRS=vendor DESTDIR="${pkgdir}"
+
+  find "${pkgdir}" -name .packlist -o -name perllocal.pod -delete
 }


More information about the arch-commits mailing list