diff --git a/p5-text-iconv/.footprint b/p5-text-iconv/.footprint index 2c042eff6..b11c9f8e3 100644 --- a/p5-text-iconv/.footprint +++ b/p5-text-iconv/.footprint @@ -9,6 +9,7 @@ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/Text/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Text/ drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Text/Iconv/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Text/Iconv/Iconv.bs (EMPTY) -r-xr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Text/Iconv/Iconv.so -r--r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Text/Iconv/autosplit.ix drwxr-xr-x root/root usr/man/ diff --git a/p5-text-iconv/.md5sum b/p5-text-iconv/.md5sum index bde383387..e100d1eea 100644 --- a/p5-text-iconv/.md5sum +++ b/p5-text-iconv/.md5sum @@ -1 +1 @@ -3e9306e9262ff13bb9ba29a251c5094a Text-Iconv-1.4.tar.gz +81b26e069eaebb084e91ea3c009b67ae Text-Iconv-1.7.tar.gz diff --git a/p5-text-iconv/Pkgfile b/p5-text-iconv/Pkgfile index 561c7c414..78c12a420 100644 --- a/p5-text-iconv/Pkgfile +++ b/p5-text-iconv/Pkgfile @@ -1,23 +1,19 @@ -# Description: Perl interface to the iconv codeset -# URL: http://search.cpan.org/~mpiotr/Text-Iconv-1.4/ -# Maintainer: unmaintained -# -# Depends on: perl +# Description: Perl interface to iconv() codeset conversion function +# URL: http://search.cpan.org/~mpiotr/Text-Iconv/ +# Maintainer: Mikhail Kolesnik, mike at openbunker dot org +# Depends on: name=p5-text-iconv -version=1.4 -release=3 -source=(http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-${version}.tar.gz) +version=1.7 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/M/MP/MPIOTR/Text-Iconv-$version.tar.gz) -build () { +build() { cd Text-Iconv-$version - perl Makefile.PL make OPTIMIZE="$CFLAGS" make DESTDIR=$PKG install - - rm -r $PKG/usr/lib/perl5/5.8.? - find $PKG -name ".packlist" -or -name "*.bs" | xargs rm - chown -R root:root $PKG + find $PKG -name .packlist -exec rm {} \; + find $PKG -name perllocal.pod -exec rm {} \; + find $PKG -depth -type d -empty -exec rm -rf {} \; } -