[arch-commits] Commit in perl-text-charwidth/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Jun 2 17:52:06 UTC 2015
Date: Tuesday, June 2, 2015 @ 19:52:05
Author: spupykin
Revision: 134602
upgpkg: perl-text-charwidth 0.04-11
upd
Modified:
perl-text-charwidth/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-02 17:52:02 UTC (rev 134601)
+++ PKGBUILD 2015-06-02 17:52:05 UTC (rev 134602)
@@ -4,7 +4,7 @@
pkgname=perl-text-charwidth
pkgver=0.04
-pkgrel=10
+pkgrel=11
pkgdesc="Perl/CPAN Module Text::CharWidth"
arch=("i686" "x86_64")
url="http://search.cpan.org/dist/Text-CharWidth"
@@ -22,6 +22,12 @@
}
package() {
+ cd Text-CharWidth-${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 Text-CharWidth-${pkgver}
-
- make install DESTDIR=${pkgdir}
-
- find ${pkgdir} -name '.packlist' -delete
- find ${pkgdir} -name '*.pod' -delete
}
More information about the arch-commits
mailing list