[arch-commits] Commit in perl-test-spec/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 24 10:49:09 UTC 2021
Date: Monday, May 24, 2021 @ 10:49:09
Author: felixonmars
Revision: 944358
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 944356, perl-test-spec/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: perl-test-spec/repos/community-staging-any/PKGBUILD (from rev 944356, perl-test-spec/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 10:49:09 UTC (rev 944358)
@@ -0,0 +1,44 @@
+# Maintainer: Justin Davis (juster) <jrcd83 at gmail.com>
+
+pkgname=perl-test-spec
+pkgver=0.54
+pkgrel=5
+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://search.cpan.org/dist/Test::Spec/"
+source=("https://search.cpan.org/CPAN/authors/id/A/AK/AKZHAN/Test-Spec-$pkgver.tar.gz")
+sha256sums=('0a31cf1265dcee90bbc42456ad60bb363afc7fac6697fffb0fd49bba92a165d2')
+
+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