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

Florian Pritz bluewind at archlinux.org
Thu Jun 1 09:08:23 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:08:22
  Author: bluewind
Revision: 297125

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

Added:
  perl-clone/repos/staging-i686/
  perl-clone/repos/staging-i686/PKGBUILD
    (from rev 297124, perl-clone/trunk/PKGBUILD)
  perl-clone/repos/staging-x86_64/
  perl-clone/repos/staging-x86_64/PKGBUILD
    (from rev 297124, perl-clone/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: perl-clone/repos/staging-i686/PKGBUILD (from rev 297124, perl-clone/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-06-01 09:08:22 UTC (rev 297125)
@@ -0,0 +1,36 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+# Contributor: Alex Dioso <adioso->gmail*com>
+
+pkgname=perl-clone
+pkgver=0.39
+pkgrel=2
+pkgdesc='Recursive copy of nested objects.'
+arch=('i686' 'x86_64')
+url='http://search.cpan.org/~RDF/Clone'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-$pkgver.tar.gz")
+sha256sums=('acb046683e49d650b113634ecf57df000816a49e611b0fff70bf3f93568bfa2d')
+
+build() {
+  cd  Clone-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  Clone-${pkgver}
+  make DESTDIR=${pkgdir} install
+  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-clone/repos/staging-x86_64/PKGBUILD (from rev 297124, perl-clone/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-06-01 09:08:22 UTC (rev 297125)
@@ -0,0 +1,36 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: François Charette <firmicus ατ gmx δοτ net>
+# Contributor: Alex Dioso <adioso->gmail*com>
+
+pkgname=perl-clone
+pkgver=0.39
+pkgrel=2
+pkgdesc='Recursive copy of nested objects.'
+arch=('i686' 'x86_64')
+url='http://search.cpan.org/~RDF/Clone'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+options=('!emptydirs')
+source=("http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-$pkgver.tar.gz")
+sha256sums=('acb046683e49d650b113634ecf57df000816a49e611b0fff70bf3f93568bfa2d')
+
+build() {
+  cd  Clone-${pkgver}
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd  Clone-${pkgver}
+  make DESTDIR=${pkgdir} install
+  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