updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / perl-authen-captcha / PKGBUILD
blobcef28924435a8e5498063868180c21195b69b1e6
1 pkgname=perl-authen-captcha
2 pkgver=1.023
3 pkgrel=1
4 pkgdesc="Authen::Captcha - Perl extension for creating captcha's to verify the human element in transactions."
5 arch=('any')
6 url="http://search.cpan.org/~unrtst/Authen-Captcha-1.023/Captcha.pm"
7 license=('GPL' 'PerlArtistic')
8 depends=('perl' 'perl-digest-md5' 'perl-gd')
9 options=('!emptydirs')
10 source=(http://search.cpan.org/CPAN/authors/id/U/UN/UNRTST/Authen-Captcha-$pkgver.tar.gz)
11 md5sums=('7c20090844dd2406e4ef6a894c66348b')
13 build() {
14   cd  "$srcdir/Authen-Captcha-$pkgver" || return 1
16   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor &&
17   make &&
18   make DESTDIR="$pkgdir" install || return 1
20   find "$pkgdir" -name '.packlist' -delete
21   find "$pkgdir" -name '*.pod' -delete