1 # CPAN Name : Dist-Zilla-Plugin-Repository
2 # Contributor: Caleb Cushing <xenoterracide@gmail.com>
3 # Generator : CPANPLUS::Dist::Arch 1.00
4 # Template @ http://github.com/xenoterracide/AURpan/blob/master/perl-dist-zilla-plugin-repository/PKGBUILD.tt
5 # File bugs @ http://github.com/xenoterracide/AURpan/issues
7 pkgname='perl-dist-zilla-plugin-repository'
10 pkgdesc="Automatically sets repository URL from svn/svk/Git checkout for Dist::Zilla"
12 url='http://search.cpan.org/dist/Dist-Zilla-Plugin-Repository'
13 license=('PerlArtistic' 'GPL')
14 depends=('perl' 'perl-dist-zilla>=2.101310')
17 options=('!emptydirs')
19 source=('http://search.cpan.org/CPAN/authors/id/F/FA/FAYLAND/Dist-Zilla-Plugin-Repository-0.13.tar.gz')
20 md5sums=('aad525729ad033077294b53f74881bf2')
23 DIST_DIR="${srcdir}/Dist-Zilla-Plugin-Repository-0.13"
24 export PERL_AUTOINSTALL=--skipdeps PERL_MM_USE_DEFAULT=1
27 perl Makefile.PL INSTALLDIRS=vendor &&
30 make DESTDIR="$pkgdir" install;
33 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete