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

Evangelos Foutras foutrelis at archlinux.org
Mon May 24 10:44:19 UTC 2021


    Date: Monday, May 24, 2021 @ 10:44:19
  Author: foutrelis
Revision: 944323

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: perl-params-validate/repos/community-staging-x86_64/PKGBUILD (from rev 944321, perl-params-validate/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-05-24 10:44:19 UTC (rev 944323)
@@ -0,0 +1,27 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-params-validate
+pkgver=1.29
+pkgrel=6
+pkgdesc="Validate sub params against a spec"
+arch=('x86_64')
+url="https://search.cpan.org/dist/Params-Validate"
+license=('GPL' 'PerlArtistic')
+depends=('perl' 'perl-module-implementation')
+makedepends=('perl-module-build')
+options=('!emptydirs')
+source=("https://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz")
+sha256sums=('49a68dfb430bea028042479111d19068e08095e5a467e320b7ab7bde3d729733')
+
+build() {
+  cd  Params-Validate-${pkgver}
+  perl ./Build.PL --installdirs=vendor
+  ./Build
+}
+package() {
+  cd  Params-Validate-${pkgver}
+  ./Build install --destdir="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}



More information about the arch-commits mailing list