updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-authen-simple-passwd / PKGBUILD
blob5391292c8b5791413c1f0166c0d0e3753e8d8289
1 # CPAN Name  : Authen-Simple-Passwd
2 # Contributor: Christian Hesse <mail@earthworm.de>
4 pkgname='perl-authen-simple-passwd'
5 pkgver='0.6'
6 pkgrel='1'
7 pkgdesc="Authen-Simple-Passwd for Perl"
8 arch=('any')
9 url="http://search.cpan.org/~chansen/Authen-Simple-Passwd-$pkgver/"
10 license=('PerlArtistic' 'GPL')
11 depends=('perl' 'perl-authen-simple')
13 options=('!emptydirs')
15 source=("http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-$pkgver.tar.gz")
17 build() {
18   DIST_DIR="${srcdir}/Authen-Simple-Passwd-$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=('64f37440bec901c0f59cbd5ef4c14424')