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

Sergej Pupykin spupykin at archlinux.org
Tue Jun 2 18:33:06 UTC 2015


    Date: Tuesday, June 2, 2015 @ 20:33:05
  Author: spupykin
Revision: 134635

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: perl-params-validate/repos/community-staging-i686/PKGBUILD (from rev 134634, perl-params-validate/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-06-02 18:33:05 UTC (rev 134635)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-params-validate
+pkgver=1.18
+pkgrel=2
+pkgdesc="Validate sub params against a spec"
+arch=('i686' '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=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz")
+md5sums=('2d6c94dd441cd96f98844aa19ebdbcb2')
+
+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
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}

Copied: perl-params-validate/repos/community-staging-x86_64/PKGBUILD (from rev 134634, perl-params-validate/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-06-02 18:33:05 UTC (rev 134635)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+
+pkgname=perl-params-validate
+pkgver=1.18
+pkgrel=2
+pkgdesc="Validate sub params against a spec"
+arch=('i686' '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=("http://www.cpan.org/authors/id/D/DR/DROLSKY/Params-Validate-${pkgver}.tar.gz")
+md5sums=('2d6c94dd441cd96f98844aa19ebdbcb2')
+
+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
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}



More information about the arch-commits mailing list