[arch-commits] Commit in perl-try-tiny/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Mon Aug 5 21:15:32 UTC 2013
Date: Monday, August 5, 2013 @ 23:15:32
Author: eric
Revision: 192104
upgpkg: perl-try-tiny 0.16-1
Upstream update, Clean up PKGBUILD
Modified:
perl-try-tiny/trunk/PKGBUILD
----------+
PKGBUILD | 43 ++++++++++++++-----------------------------
1 file changed, 14 insertions(+), 29 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-05 21:07:41 UTC (rev 192103)
+++ PKGBUILD 2013-08-05 21:15:32 UTC (rev 192104)
@@ -1,46 +1,31 @@
-# Maintainer: Justin Davis <jrcd83 at gmail.com>
# $Id$
+# Maintainer:
pkgname=perl-try-tiny
-pkgver=0.12
+pkgver=0.16
pkgrel=1
pkgdesc="Minimal try/catch with proper localization of \$@"
-arch=(any)
-license=(PerlArtistic GPL)
-options=(!emptydirs)
+arch=('any')
+url="http://search.cpan.org/dist/Try-Tiny"
+license=('PerlArtistic' 'GPL')
makedepends=('perl-extutils-makemaker')
checkdepends=('perl-test-simple')
-url="http://search.cpan.org/dist/Try-Tiny"
+options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-${pkgver}.tar.gz")
-md5sums=('5b584cb5ace0a2f39d8949bacc800003')
+md5sums=('027ebee61b191a4b2fe4107cb7b51c7c')
build() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
- PERL_AUTOINSTALL=--skipdeps \
- PERL_MM_OPT="INSTALLDIRS=vendor" \
- PERL_MB_OPT="--installdirs vendor" \
- MODULEBUILDRC=/dev/null
-
- cd Try-Tiny-${pkgver}
- /usr/bin/perl Makefile.PL
- make
- )
+ cd Try-Tiny-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
}
check() {
- ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
- cd Try-Tiny-${pkgver}
- make test
- )
+ cd Try-Tiny-${pkgver}
+ make test
}
package() {
- cd Try-Tiny-${pkgver}
- make DESTDIR="$pkgdir" install
+ cd Try-Tiny-${pkgver}
+ make DESTDIR="$pkgdir" install
}
-
-# Local Variables:
-# mode: shell-script
-# sh-basic-offset: 2
-# End:
-# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list