[arch-commits] Commit in perl-gd/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Tue Jun 2 18:16:56 UTC 2015


    Date: Tuesday, June 2, 2015 @ 20:16:56
  Author: spupykin
Revision: 134628

upgpkg: perl-gd 2.56-3

upd

Modified:
  perl-gd/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-06-02 18:14:32 UTC (rev 134627)
+++ PKGBUILD	2015-06-02 18:16:56 UTC (rev 134628)
@@ -4,12 +4,13 @@
 
 pkgname=perl-gd
 pkgver=2.56
-pkgrel=2
+pkgrel=3
 pkgdesc="Interface to Gd Graphics Library"
 arch=('i686' 'x86_64')
 url="http://search.cpan.org/dist/GD"
 license=('GPL' 'PerlArtistic')
 depends=('gd')
+makedepends=('perl-module-build')
 options=('!emptydirs')
 source=(http://www.cpan.org/authors/id/L/LD/LDS/GD-$pkgver.tar.gz)
 md5sums=('c4b3afd98b2c4ce3c2e1027d101a8f1e')
@@ -25,6 +26,10 @@
 }
 
 package() {
+  cd  $srcdir/GD-$pkgver
+  perl Build 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]);')
@@ -32,10 +37,4 @@
 	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
 fi
 # template end;
-
-
-  cd  $srcdir/GD-$pkgver
-  perl Build install
-  find $pkgdir -name '.packlist' -delete
-  find $pkgdir -name '*.pod' -delete
 }



More information about the arch-commits mailing list