updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / perl-authen-simple / PKGBUILD
blob11cfdb632e71793cc7861ba1a9b4e7169dc4ac47
1 # CPAN Name  : Authen-Simple
2 # Contributor: Christian Hesse <mail@earthworm.de>
4 pkgname=perl-authen-simple
5 pkgver=0.4
6 pkgrel=2
7 pkgdesc="Authen-Simple for Perl"
8 arch=('any')
9 url="http://search.cpan.org/~chansen/Authen-Simple-$pkgver/"
10 license=('PerlArtistic' 'GPL')
11 depends=('perl' 'perl-params-validate' 'perl-class-accessor' 'perl-class-data-inheritable' 'perl-passwd-md5')
13 options=('!emptydirs')
15 source=("http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/Authen-Simple-$pkgver.tar.gz")
17 build() {
18   DIST_DIR="${srcdir}/Authen-Simple-$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=('ca2ebc687e9282c92f488fa79e3e8723')