[arch-commits] Commit in perl-mail-box-parser-c/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Tue Jun 2 17:41:55 UTC 2015


    Date: Tuesday, June 2, 2015 @ 19:41:55
  Author: spupykin
Revision: 134590

upgpkg: perl-mail-box-parser-c 3.007-3

upd

Modified:
  perl-mail-box-parser-c/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-02 17:41:21 UTC (rev 134589)
+++ PKGBUILD	2015-06-02 17:41:55 UTC (rev 134590)
@@ -4,7 +4,7 @@
 
 pkgname=perl-mail-box-parser-c
 pkgver=3.007
-pkgrel=2
+pkgrel=3
 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"
@@ -22,6 +22,12 @@
 }
 
 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]);')
@@ -29,12 +35,4 @@
 	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
 fi
 # template end;
-
-
-  cd Mail-Box-Parser-C-${pkgver}
-
-  make install DESTDIR=${pkgdir}
-
-  find ${pkgdir} -name '.packlist' -delete
-  find ${pkgdir} -name '*.pod' -delete
 }



More information about the arch-commits mailing list