[arch-commits] Commit in perl-params-validate/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 11:18:56 UTC 2018
Date: Wednesday, August 1, 2018 @ 11:18:56
Author: bluewind
Revision: 366514
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 366513, perl-params-validate/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: perl-params-validate/repos/community-staging-x86_64/PKGBUILD (from rev 366513, perl-params-validate/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 11:18:56 UTC (rev 366514)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-params-validate
+pkgver=1.29
+pkgrel=2
+pkgdesc="Validate sub params against a spec"
+arch=('x86_64')
+url="http://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