[arch-commits] Commit in perl-html-strip/trunk (PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Tue Jun 2 17:39:39 UTC 2015
Date: Tuesday, June 2, 2015 @ 19:39:38
Author: spupykin
Revision: 134582
upgpkg: perl-html-strip 2.08-2
upd
Modified:
perl-html-strip/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-02 17:33:24 UTC (rev 134581)
+++ PKGBUILD 2015-06-02 17:39:38 UTC (rev 134582)
@@ -4,7 +4,7 @@
pkgname=perl-html-strip
pkgver=2.08
-pkgrel=1
+pkgrel=2
pkgdesc="Perl/CPAN Module HTML::Strip"
arch=('i686' 'x86_64')
url="http://search.cpan.org/~kilinrax/HTML-Strip/"
@@ -19,6 +19,10 @@
make
}
package() {
+ cd $srcdir/HTML-Strip-$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]);')
@@ -26,10 +30,4 @@
depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
fi
# template end;
-
-
- cd $srcdir/HTML-Strip-$pkgver
- make install DESTDIR=$pkgdir
- find $pkgdir -name '.packlist' -delete
- find $pkgdir -name '*.pod' -delete
}
More information about the arch-commits
mailing list