updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / perl-extutils-install / PKGBUILD
blobc1ff378247d7c09ee8e0f4c4105248df9640229b
1 # Maintainer: Justin Davis <aurperl@juster.us>
3 pkgname=perl-extutils-install
4 pkgver=1.54
5 pkgrel=1
6 pkgdesc="install files from here to there"
7 arch=(any)
8 license=(GPL)
9 depends=('perl')
10 url=http://search.cpan.org/dist/ExtUtils-Install
11 source=('http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/ExtUtils-Install-1.54.tar.gz')
12 md5sums=(28d2ab1f23b26f90772d953387f32fe3)
13 sha512sums=(a08a09024e9353f4b846b64323039c7756b9a8b906ff3b57fdf1832236775444f177c2197df480d46cf532e64194f8f1e193645c2bf55d5d3f123fced4545d92)
14 _distdir="${srcdir}/ExtUtils-Install-${pkgver}"
16 build() {
17   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
18       PERL_AUTOINSTALL=--skipdeps                            \
19       PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
20       PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
21       MODULEBUILDRC=/dev/null
23     cd "$_distdir"
24     /usr/bin/perl Build.PL
25     ./Build
26   )
29 check() {
30   ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
31     cd "$_distdir"
32     ./Build test
33   )
36 package() {
37     cd "$_distdir"
38     ./Build install
39     find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
42 # Local Variables:
43 # mode: shell-script
44 # sh-basic-offset: 2
45 # End:
46 # vim:set ts=2 sw=2 et: