[arch-commits] Commit in perl-mail-box-parser-c/repos (6 files)

Florian Pritz bluewind at archlinux.org
Fri May 27 08:01:47 UTC 2016


    Date: Friday, May 27, 2016 @ 10:01:46
  Author: bluewind
Revision: 177220

db-move: moved perl-mail-box-parser-c from [community-staging] to [community-testing] (i686, x86_64)

Added:
  perl-mail-box-parser-c/repos/community-testing-i686/
  perl-mail-box-parser-c/repos/community-testing-i686/PKGBUILD
    (from rev 177219, perl-mail-box-parser-c/repos/community-staging-i686/PKGBUILD)
  perl-mail-box-parser-c/repos/community-testing-x86_64/
  perl-mail-box-parser-c/repos/community-testing-x86_64/PKGBUILD
    (from rev 177219, perl-mail-box-parser-c/repos/community-staging-x86_64/PKGBUILD)
Deleted:
  perl-mail-box-parser-c/repos/community-staging-i686/
  perl-mail-box-parser-c/repos/community-staging-x86_64/

-----------------------------------+
 community-testing-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: perl-mail-box-parser-c/repos/community-testing-i686/PKGBUILD (from rev 177219, perl-mail-box-parser-c/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-05-27 08:01:46 UTC (rev 177220)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-mail-box-parser-c
+pkgver=3.007
+pkgrel=4
+pkgdesc="Perl/CPAN Module Mail::Box::Parser::C : extends MailBox with the speed of C"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Mail-Box-Parser-C"
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-Parser-C-${pkgver}.tar.gz")
+md5sums=('4203b3df229df135ec3488721f0ce7f8')
+
+build() {
+  cd Mail-Box-Parser-C-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd Mail-Box-Parser-C-${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-mail-box-parser-c/repos/community-testing-x86_64/PKGBUILD (from rev 177219, perl-mail-box-parser-c/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-05-27 08:01:46 UTC (rev 177220)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-mail-box-parser-c
+pkgver=3.007
+pkgrel=4
+pkgdesc="Perl/CPAN Module Mail::Box::Parser::C : extends MailBox with the speed of C"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/Mail-Box-Parser-C"
+license=("GPL" "PerlArtistic")
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/M/MA/MARKOV/Mail-Box-Parser-C-${pkgver}.tar.gz")
+md5sums=('4203b3df229df135ec3488721f0ce7f8')
+
+build() {
+  cd Mail-Box-Parser-C-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd Mail-Box-Parser-C-${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