[arch-commits] Commit in perl-data-structure-util/repos (4 files)

Sergej Pupykin spupykin at archlinux.org
Tue May 10 17:56:36 UTC 2016


    Date: Tuesday, May 10, 2016 @ 19:56:36
  Author: spupykin
Revision: 174597

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

Added:
  perl-data-structure-util/repos/community-staging-i686/
  perl-data-structure-util/repos/community-staging-i686/PKGBUILD
    (from rev 174596, perl-data-structure-util/trunk/PKGBUILD)
  perl-data-structure-util/repos/community-staging-x86_64/
  perl-data-structure-util/repos/community-staging-x86_64/PKGBUILD
    (from rev 174596, perl-data-structure-util/trunk/PKGBUILD)

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

Copied: perl-data-structure-util/repos/community-staging-i686/PKGBUILD (from rev 174596, perl-data-structure-util/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-10 17:56:36 UTC (rev 174597)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-data-structure-util
+pkgver=0.16
+pkgrel=3
+pkgdesc="Perl/CPAN Module Data::Structure::Util"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Data-Structure-Util"
+license=("GPL" "PerlArtistic")
+source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
+md5sums=('ada3241ff14e895e26e9a112bd5c3431')
+
+build() {
+  cd $srcdir/Data-Structure-Util-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd $srcdir/Data-Structure-Util-$pkgver
+  make 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-data-structure-util/repos/community-staging-x86_64/PKGBUILD (from rev 174596, perl-data-structure-util/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-10 17:56:36 UTC (rev 174597)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-data-structure-util
+pkgver=0.16
+pkgrel=3
+pkgdesc="Perl/CPAN Module Data::Structure::Util"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Data-Structure-Util"
+license=("GPL" "PerlArtistic")
+source=("http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/Data-Structure-Util-$pkgver.tar.gz")
+md5sums=('ada3241ff14e895e26e9a112bd5c3431')
+
+build() {
+  cd $srcdir/Data-Structure-Util-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd $srcdir/Data-Structure-Util-$pkgver
+  make 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