[arch-commits] Commit in perl-test-spec/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 26 18:03:21 UTC 2017
Date: Saturday, August 26, 2017 @ 18:03:21
Author: felixonmars
Revision: 254265
archrelease: copy trunk to community-staging-any
Added:
perl-test-spec/repos/community-staging-any/
perl-test-spec/repos/community-staging-any/PKGBUILD
(from rev 254263, perl-test-spec/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: perl-test-spec/repos/community-staging-any/PKGBUILD (from rev 254263, perl-test-spec/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-08-26 18:03:21 UTC (rev 254265)
@@ -0,0 +1,45 @@
+# Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
+# $Id$
+
+pkgname=perl-test-spec
+pkgver=0.51
+pkgrel=3
+pkgdesc='Write tests in a declarative specification style'
+arch=(any)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+depends=('perl-package-stash>=0.23' 'perl-test-deep>=0.103' perl-test-trap
+ perl-tie-ixhash)
+checkdepends=('perl-module-implementation' 'perl-try-tiny')
+url="https://metacpan.org/release/Test-Spec"
+source=("https://cpan.metacpan.org/authors/id/A/AN/ANDYJONES/Test-Spec-$pkgver.tar.gz")
+md5sums=('a52b44c071ec4c32e30f4c949e8b2f1a')
+
+build()
+(
+ cd Test-Spec-$pkgver
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+ unset PERL5LIB PERL_MM_OPT
+ /usr/bin/perl Makefile.PL
+ make
+)
+
+check()
+(
+ cd Test-Spec-$pkgver
+ export PERL_MM_USE_DEFAULT=1
+ unset PERL5LIB
+ make test
+)
+
+package()
+(
+ cd Test-Spec-$pkgver
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+)
+
+# 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