updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / perl-algorithm-dependency / PKGBUILD
blob61471a2130a7dbd59ae788e2c2b31f2fbc5fd220
1 # CPAN Name  : Algorithm-Dependency
2 # Contributor: Anonymous
3 # Generator  : CPANPLUS::Dist::Arch 1.00
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-algorithm-dependency/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-algorithm-dependency'
8 pkgver='1.110'
9 pkgrel='1'
10 pkgdesc="Base class for implementing various dependency trees"
11 arch=('any')
12 url='http://search.cpan.org/dist/Algorithm-Dependency'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-params-util>=0.31' 'perl-test-classapi>=0.6')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Algorithm-Dependency-1.110.tar.gz')
20 md5sums=('dc1dab2ac44c315caa092397423b1429')
22 build() {
23   DIST_DIR="${srcdir}/Algorithm-Dependency-1.110"
24   export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
25   {
26         cd "$DIST_DIR" &&
27     perl Makefile.PL INSTALLDIRS=vendor &&
28     make &&
29     make test &&
30     make DESTDIR="$pkgdir" install;
31   } || return 1;
33   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete