PKGBUILDs/community/perl-cgi-session/PKGBUILD
2009-10-09 21:15:33 -05:00

20 lines
770 B
Bash

# This PKGBUILD was autocreated. See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>
pkgname=perl-cgi-session
pkgver=4.42
pkgrel=1
pkgdesc="Perl/CPAN Module CGI::Session : Session management in CGI applications"
arch=(any)
url="http://search.cpan.org/dist/CGI-Session/"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz")
md5sums=('6544261a6aae66410188520b27e10699')
build() {
cd $startdir/src/CGI-Session-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make pure_install doc_install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}