[arch-commits] Commit in perl-params-util/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 08:34:04 UTC 2021


    Date: Monday, May 24, 2021 @ 08:34:04
  Author: foutrelis
Revision: 943974

archrelease: copy trunk to community-staging-x86_64

Added:
  perl-params-util/repos/community-staging-x86_64/
  perl-params-util/repos/community-staging-x86_64/PKGBUILD
    (from rev 943972, perl-params-util/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: perl-params-util/repos/community-staging-x86_64/PKGBUILD (from rev 943972, perl-params-util/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 08:34:04 UTC (rev 943974)
@@ -0,0 +1,41 @@
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Justin Davis (juster) <jrcd83 at gmail.com>
+
+pkgname=perl-params-util
+pkgver=1.102
+pkgrel=2
+pkgdesc='Simple, compact and correct param-checking functions'
+arch=('x86_64')
+url="https://metacpan.org/release/Params-Util"
+license=('PerlArtistic' 'GPL')
+depends=('perl')
+options=('!emptydirs')
+source=("https://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Params-Util-$pkgver.tar.gz")
+sha512sums=('e2587b62545cf0572cc8f719ea8e5411d710789c3cbcab4038c5b01f86073a010d32191551f6aeea1bdae22d49e7d34358250b4e7ece9f261a598854af187194')
+
+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:



More information about the arch-commits mailing list