[arch-commits] CVS update of extra/lib/perl-text-iconv (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Fri Jan 18 04:33:36 UTC 2008
Date: Thursday, January 17, 2008 @ 23:33:36
Author: kevin
Path: /home/cvs-extra/extra/lib/perl-text-iconv
Modified: PKGBUILD (1.1 -> 1.2)
upgpkg: perl-text-iconv 1.7-2
Updated for new perl policy
----------+
PKGBUILD | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
Index: extra/lib/perl-text-iconv/PKGBUILD
diff -u extra/lib/perl-text-iconv/PKGBUILD:1.1 extra/lib/perl-text-iconv/PKGBUILD:1.2
--- extra/lib/perl-text-iconv/PKGBUILD:1.1 Fri Jan 4 05:03:07 2008
+++ extra/lib/perl-text-iconv/PKGBUILD Thu Jan 17 23:33:36 2008
@@ -1,28 +1,25 @@
-# $Id: PKGBUILD,v 1.1 2008/01/04 10:03:07 damir Exp $
+# $Id: PKGBUILD,v 1.2 2008/01/18 04:33:36 kevin Exp $
# Maintainer: damir <damir at archlinux.org>
# Contributor: Francois Charette <firmicus at gmx.net>
pkgname=perl-text-iconv
+_realname=Text-Iconv
pkgver=1.7
-pkgrel=1
+pkgrel=2
pkgdesc="Interface to iconv codeset conversion"
arch=('i686' 'x86_64')
-url="http://search.cpan.org/~MPIOTR/Text-Iconv"
+url="http://search.cpan.org/dist/${_realname}/"
license=('GPL' 'PerlArtistic')
-depends=('perl')
+depends=('perl>=5.10.0')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/Text-Iconv-$pkgver.tar.gz)
+source=(http://www.cpan.org/authors/id/M/MP/MPIOTR/${_realname}-${pkgver}.tar.gz)
md5sums=('81b26e069eaebb084e91ea3c009b67ae')
build() {
- cd $startdir/src/Text-Iconv-$pkgver
- eval `perl -V:archname`
- perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- make || return 1
- make DESTDIR=$startdir/pkg install
- find $startdir/pkg -name '.packlist' -delete
- find $startdir/pkg -name '*.pod' -delete
+ cd ${startdir}/src/${_realname}-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+ find ${startdir}/pkg -name '.packlist' -delete
+ find ${startdir}/pkg -name '*.pod' -delete
}
More information about the arch-commits
mailing list