updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-authen-pam / PKGBUILD
bloba0d19af8cd094c53d4ae5939523b43e22ea1a4b7
1 # CPAN Name  : Authen-Simple-LDAP
2 # Contributor: Christian Hesse <mail@earthworm.de>
4 pkgname='perl-authen-pam'
5 pkgver='0.16'
6 pkgrel='1'
7 pkgdesc="Perl interface to PAM library"
8 arch=('any')
9 url="http://search.cpan.org/~nikip/Authen-PAM-$pkgver/"
10 license=('unknown')
11 depends=('perl')
13 options=('!emptydirs')
15 source=("http://search.cpan.org/CPAN/authors/id/N/NI/NIKIP/Authen-PAM-$pkgver.tar.gz")
16 md5sums=('7278471dfa694d9ef312bc92d7099af2')
18 build() {
19   DIST_DIR="${srcdir}/Authen-PAM-$pkgver"
20   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
21   {
22         cd "$DIST_DIR" &&
23     perl Makefile.PL INSTALLDIRS=vendor &&
24     make &&
25     make test &&
26     make DESTDIR="$pkgdir" install;
27   } || return 1;
29   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete