archrelease: copy trunk to community-any
[arch-community.git] / perl-test-spec / trunk / PKGBUILD
blobe7ea5a18df1071f763ad9308d2d5c451d2350564
1 # Maintainer: Justin Davis (juster) <jrcd83@gmail.com>
3 pkgname=perl-test-spec
4 pkgver=0.54
5 pkgrel=6
6 pkgdesc='Write tests in a declarative specification style'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl-package-stash>=0.23' 'perl-test-deep>=0.103' perl-test-trap
11          perl-tie-ixhash)
12 checkdepends=('perl-module-implementation' 'perl-try-tiny')
13 url="https://search.cpan.org/dist/Test::Spec/"
14 source=("https://search.cpan.org/CPAN/authors/id/A/AK/AKZHAN/Test-Spec-$pkgver.tar.gz")
15 sha256sums=('0a31cf1265dcee90bbc42456ad60bb363afc7fac6697fffb0fd49bba92a165d2')
17 build()
19   cd Test-Spec-$pkgver
20   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
21   unset PERL5LIB PERL_MM_OPT
22   /usr/bin/perl Makefile.PL
23   make
26 check()
28   cd Test-Spec-$pkgver
29   export PERL_MM_USE_DEFAULT=1
30   unset PERL5LIB
31   make test
34 package()
36   cd Test-Spec-$pkgver
37   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
40 # Local Variables:
41 # mode: shell-script
42 # sh-basic-offset: 2
43 # End:
44 # vim:set ts=2 sw=2 et: