archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-fcgi-client / trunk / PKGBUILD
blobbe8bef804a0401444c564e1086e136568c5abe37
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-fcgi-client
4 pkgver=0.09
5 pkgrel=2
6 pkgdesc='client library for fastcgi protocol'
7 arch=(any)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.8.1' 'perl-moo>=2' perl-type-tiny)
11 makedepends=('perl-module-build-tiny>=0.035')
12 url=https://metacpan.org/release/FCGI-Client
13 source=("https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/FCGI-Client-$pkgver.tar.gz")
14 md5sums=(d3e621b79a96ea1463331e33cf337524)
15 sha512sums=(962166f10cd79f99a67a94002b4cff7324fced3aca6448cd485d07c489e6fbb25a090b964622aa178a20c8f930f916c5aac10525392ace45cfcb908733675079)
16 _ddir="FCGI-Client-$pkgver"
18 build()
20   cd "$srcdir/$_ddir"
21   export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
22   unset PERL5LIB PERL_MB_OPT
23   /usr/bin/perl Build.PL
24   ./Build
27 check()
29   cd "$srcdir/$_ddir"
30   export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
31   unset PERL5LIB PERL_MB_OPT
32   ./Build test
35 package()
37   cd "$srcdir/$_ddir"
38   export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
39   unset PERL5LIB PERL_MB_OPT
40   ./Build install --installdirs=vendor --destdir="$pkgdir"
43 # Local Variables:
44 # mode: shell-script
45 # sh-basic-offset: 2
46 # End:
47 # vim:set ts=2 sw=2 et: