[arch-commits] Commit in perl-test-fatal/trunk (PKGBUILD)
Eric Bélanger
eric at archlinux.org
Fri Mar 20 04:00:45 UTC 2015
Date: Friday, March 20, 2015 @ 05:00:45
Author: eric
Revision: 129610
upgpkg: perl-test-fatal 0.014-1
Upstream update, Clean up PKGBUILD
Modified:
perl-test-fatal/trunk/PKGBUILD
----------+
PKGBUILD | 35 ++++++++++++-----------------------
1 file changed, 12 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-20 03:10:46 UTC (rev 129609)
+++ PKGBUILD 2015-03-20 04:00:45 UTC (rev 129610)
@@ -3,40 +3,29 @@
# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
pkgname=perl-test-fatal
-pkgver=0.013
+pkgver=0.014
pkgrel=1
pkgdesc="Incredibly simple helpers for testing code with exceptions"
arch=('any')
+url="https://metacpan.org/release/Test-Fatal"
license=('PerlArtistic' 'GPL')
+depends=('perl-try-tiny')
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')
+sha1sums=('6984ef1c0aed1d2c8334e8f20818cbf269abc345')
-build() (
+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
+ perl Makefile.PL
make
-)
+}
-check() (
+check() {
cd "$srcdir/Test-Fatal-$pkgver"
-
- export PERL_MM_USE_DEFAULT=1
- unset PERL5LIB
-
make test
-)
+}
-package() (
+package() {
cd "$srcdir/Test-Fatal-$pkgver"
-
- make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
-
- find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
-)
+ make INSTALLDIRS=vendor DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list