# $Id: PKGBUILD 66098 2012-02-23 01:03:59Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=perl-module-runtime pkgver=0.013 pkgrel=1 pkgdesc="runtime module handling" arch=('any') url="http://search.cpan.org/dist/Module-Runtime/" license=('perl') depends=('perl-params-classify') options=(!emptydirs) source=("http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-$pkgver.tar.gz") md5sums=('62b88b1f5f0e975a5d7c80cd46167b97') build() { cd $srcdir/Module-Runtime-$pkgver PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { cd $srcdir/Module-Runtime-$pkgver make install DESTDIR="${pkgdir}" find ${pkgdir} -name perllocal.pod -delete find ${pkgdir} -name .packlist -delete }