updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-cgi-psgi / PKGBUILD
blobcb08245076c0f34bb2d3e27deaa2bc472366f3d1
1 # Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com>
3 pkgname=perl-cgi-psgi
4 pkgver=0.15
5 pkgrel=1
6 pkgdesc="Adapt CGI.pm to the PSGI protocol"
7 arch=('i686' 'x86_64')
8 url="http://search.cpan.org/~miyagawa/CGI-PSGI-$pkgver/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 options=('!emptydirs')
12 source=("http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/CGI-PSGI-$pkgver.tar.gz")
13 md5sums=('58a39711add2b48229710688c5f81cfd')
15 build() {
16         cd "$srcdir/CGI-PSGI-$pkgver"
17         PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
18         make
21 package() {
22         cd "$srcdir/CGI-PSGI-$pkgver"
23         make install DESTDIR="$pkgdir"