db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / perl-fcgi / trunk / PKGBUILD
blob61fdda20a4c3181464944476240da01aeda019fc
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
3 pkgname=perl-fcgi
4 pkgver=0.82
5 pkgrel=2
6 pkgdesc='Fast CGI module'
7 arch=(x86_64)
8 license=(PerlArtistic GPL)
9 options=(!emptydirs)
10 depends=('perl>=5.6')
11 checkdepends=('perl-fcgi-client>=0.09')
12 url=https://metacpan.org/release/FCGI
13 source=("https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-$pkgver.tar.gz")
14 md5sums=(f51a6cb522c0ff25043281532ad0479f)
15 sha512sums=(dd962678b4c2012298c9b34cd85ffbacbdfc269b3a25cad7a77aadf1545c2ccab63ea14b44ffff727d51520f62a9ddd943deaff80a442888efd1a2caadb53334)
16 _ddir="FCGI-$pkgver"
18 build()
20   cd "$srcdir/$_ddir"
21   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22   unset PERL5LIB PERL_MM_OPT
23   /usr/bin/perl Makefile.PL
24   make
27 check()
29   cd "$srcdir/$_ddir"
30   export PERL_MM_USE_DEFAULT=1
31   unset PERL5LIB
32   make test
35 package()
37   cd "$srcdir/$_ddir"
38   make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
41 # Local Variables:
42 # mode: shell-script
43 # sh-basic-offset: 2
44 # End:
45 # vim:set ts=2 sw=2 et: