1 # Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
2 # Contributor: Justin Davis (juster) <jrcd83@gmail.com>
4 pkgname=perl-params-util
7 pkgdesc='Simple, compact and correct param-checking functions'
9 url="https://metacpan.org/release/Params-Util"
10 license=('PerlArtistic' 'GPL')
12 options=('!emptydirs')
13 source=("https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Params-Util-$pkgver.tar.gz")
14 sha512sums=('e2587b62545cf0572cc8f719ea8e5411d710789c3cbcab4038c5b01f86073a010d32191551f6aeea1bdae22d49e7d34358250b4e7ece9f261a598854af187194')
17 cd "$srcdir/Params-Util-$pkgver"
18 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
19 unset PERL5LIB PERL_MM_OPT
20 /usr/bin/perl Makefile.PL
25 cd "$srcdir/Params-Util-$pkgver"
26 export PERL_MM_USE_DEFAULT=1
32 cd "$srcdir/Params-Util-$pkgver"
33 make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
34 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
41 # vim:set ts=2 sw=2 et: