# Contributor: François Charette pkgname=perl-config-tiny pkgver=2.12 pkgrel=2 pkgdesc="Read/Write .ini style files with as little code as possible " arch=('i686' 'x86_64') url="http://search.cpan.org/~ADAMK/Config-Tiny" license=('GPL' 'PerlArtistic') depends=('perl>=5.10') options=('!emptydirs') source=(http://www.cpan.org/authors/id/A/AD/ADAMK/Config-Tiny-$pkgver.tar.gz) md5sums=('1df5a4ff37cd1d80532ddbe28015d1f0') build() { cd ${srcdir}/Config-Tiny-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 make install DESTDIR=${pkgdir} || return 1 find ${pkgdir} -name '.packlist' -delete find ${pkgdir} -name '*.pod' -delete }