[arch-commits] Commit in perl-clone/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Jun 2 17:26:00 UTC 2015
Date: Tuesday, June 2, 2015 @ 19:26:00
Author: spupykin
Revision: 134564
upgpkg: perl-clone 0.37-3
upd
Modified:
perl-clone/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-02 17:22:04 UTC (rev 134563)
+++ PKGBUILD 2015-06-02 17:26:00 UTC (rev 134564)
@@ -4,12 +4,12 @@
pkgname=perl-clone
pkgver=0.37
-pkgrel=2
+pkgrel=3
pkgdesc='Recursive copy of nested objects.'
arch=('i686' 'x86_64')
url='http://search.cpan.org/~RDF/Clone'
license=('GPL' 'PerlArtistic')
-depends=('perl>=5.10.0')
+depends=('perl')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-$pkgver.tar.gz")
md5sums=('b0c9d1bcf9e85ab2fbc0b436cfc801f5')
@@ -21,6 +21,10 @@
}
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]);')
@@ -28,10 +32,4 @@
depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi
# template end;
-
-
- cd Clone-${pkgver}
- make DESTDIR=${pkgdir} install
- find ${pkgdir} -name '.packlist' -delete
- find ${pkgdir} -name '*.pod' -delete
}
More information about the arch-commits
mailing list