updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-authen-simple-ldap / PKGBUILD
blob119a735a555d712b82340442dfa0585c503f773b
1 # CPAN Name  : Authen-Simple-LDAP
2 # Maintainer: Christian Hesse <mail@eworm.de>
4 pkgname=perl-authen-simple-ldap
5 pkgver=0.2
6 pkgrel=2
7 pkgdesc="Authen-Simple-LDAP for Perl"
8 arch=('any')
9 url="http://search.cpan.org/~chansen/Authen-Simple-LDAP-$pkgver/"
10 license=('PerlArtistic' 'GPL')
11 depends=('perl' 'perl-ldap' 'perl-authen-simple')
13 options=('!emptydirs')
15 source=("http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/Authen-Simple-LDAP-$pkgver.tar.gz")
17 build() {
18   DIST_DIR="${srcdir}/Authen-Simple-LDAP-$pkgver"
19   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
20   {
21         cd "$DIST_DIR" &&
22     perl Makefile.PL INSTALLDIRS=vendor &&
23     make &&
24     make test &&
25     make DESTDIR="$pkgdir" install;
26   } || return 1;
28   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
31 md5sums=('d9340d8a39b1ef58b3882c6b88362fa3')