updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / perl-config-yaml / PKGBUILD
blob8add42e68287061321d258b3889b1bbb063c798f
1 # Contributor: Elijah Perrault <elijah@starcoder.info>
2 # Generator  : CPANPLUS::Dist::Arch 1.11
3 pkgname='perl-config-yaml'
4 pkgver='1.42'
5 pkgrel='1'
6 pkgdesc="Simple configuration automation"
7 arch=('any')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl-yaml>=0.35')
11 makedepends=()
12 url='http://search.cpan.org/dist/Config-YAML'
13 source=('http://search.cpan.org/CPAN/authors/id/M/MD/MDXI/Config-YAML-1.42.tar.gz')
14 md5sums=('cfee6763e19cb4c80bfb60f922b882dd')
16 build() {
17     PERL=/usr/bin/perl
18     DIST_DIR="${srcdir}/Config-YAML-1.42"
19     export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
20         PERL_AUTOINSTALL=--skipdeps                            \
21         PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
22         PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23         MODULEBUILDRC=/dev/null
25     cd "$DIST_DIR"
26     $PERL Makefile.PL
27     make
28     make test
29     make install
30     find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
33 # vim: set ai et sw=4 ts=4: