updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / perl-cgi-ex / PKGBUILD
blob65d5218e6ba03711f4507aca14ea244067c59ea3
1 # Contributor: Jeff Anderson <jefferya@programmerq.net>
2 pkgname=perl-cgi-ex
3 pkgver=2.32
4 pkgrel=1
5 pkgdesc="makes powerful CGI application writing fun and easy"
6 arch=(any)
7 url="http://search.cpan.org/dist/CGI-Ex/"
8 license=('PerlArtistic')
9 depends=('perl>=5.10.0', 'perl-template-alloy')
10 makedepends=()
11 provides=()
12 conflicts=()
13 replaces=()
14 backup=()
15 options=(!emptydirs)
16 install=
17 source=(http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/CGI-Ex-$pkgver.tar.gz)
18 md5sums=('6bf7e38ef9a738c792157e7797855022')
20 build() {
21   cd "$srcdir/CGI-Ex-$pkgver"
23   # install module in vendor directories.
24   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
25   make || return 1
26   make install DESTDIR="$pkgdir/" || return 1
28   # remove perllocal.pod and .packlist
29   find "$pkgdir" -name perllocal.pod -delete
30   find "$pkgdir" -name .packlist -delete
33 # vim:set ts=2 sw=2 et: