# Maintainer: Sergej Pupykin pkgname=perl-local-lib pkgver=2.000029 pkgrel=1 pkgdesc="Create and use a local lib/ for perl modules with PERL5LIB" arch=('any') url="https://search.cpan.org/dist/local-lib/" license=('PerlArtistic' 'GPL') depends=('perl') options=('!emptydirs') source=("https://search.cpan.org/CPAN/authors/id/H/HA/HAARG/local-lib-$pkgver.tar.gz") sha256sums=('8df87a10c14c8e909c5b47c5701e4b8187d519e5251e87c80709b02bb33efdd7') build() { cd local-lib-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { cd local-lib-${pkgver} make test } package() { cd local-lib-${pkgver} make DESTDIR="$pkgdir" install }