From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/perl-params-util/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 community/perl-params-util/PKGBUILD (limited to 'community/perl-params-util/PKGBUILD') diff --git a/community/perl-params-util/PKGBUILD b/community/perl-params-util/PKGBUILD new file mode 100644 index 000000000..6b0fc9784 --- /dev/null +++ b/community/perl-params-util/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 91692 2013-05-26 09:25:55Z bluewind $ +# Maintainer: Jonathan Steel +# Contributor: Justin Davis (juster) + +pkgname=perl-params-util +pkgver=1.07 +pkgrel=2 +pkgdesc='Simple, compact and correct param-checking functions' +arch=('i686' 'x86_64') +url="https://metacpan.org/release/Params-Util" +license=('PerlArtistic' 'GPL') +depends=('perl') +options=('!emptydirs') +source=("http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-$pkgver.tar.gz") +sha256sums=('30f1ec3f2cf9ff66ae96f973333f23c5f558915bb6266881eac7423f52d7c76c') + +build() +( + cd "$srcdir/Params-Util-$pkgver" + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps + unset PERL5LIB PERL_MM_OPT + /usr/bin/perl Makefile.PL + make +) + +check() +( + cd "$srcdir/Params-Util-$pkgver" + export PERL_MM_USE_DEFAULT=1 + unset PERL5LIB + make test +) + +package() +( + cd "$srcdir/Params-Util-$pkgver" + make install INSTALLDIRS=vendor DESTDIR="$pkgdir" + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +) + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf