From 19bc7fdf92a066d05e08269617d6df53cc712d3b Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 16 Jul 2014 06:43:28 +0000 Subject: main/perl-io-compress: exclude zipdetails zipdetails is provided by core perl package ref #2892 also update url --- main/perl-io-compress/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'main/perl-io-compress') diff --git a/main/perl-io-compress/APKBUILD b/main/perl-io-compress/APKBUILD index c31a9bcf17..c34721e4ea 100644 --- a/main/perl-io-compress/APKBUILD +++ b/main/perl-io-compress/APKBUILD @@ -3,9 +3,9 @@ pkgname=perl-io-compress _realname=IO-Compress pkgver=2.063 -pkgrel=0 +pkgrel=1 pkgdesc="Perl compression library" -url="http://search.cpan.org/~pmqs/IO-Compress-2.024/" +url="http://search.cpan.org/dist/IO-Compress/" arch="noarch" license="GPL PerlArtistic" depends="perl perl-compress-raw-bzip2 perl-compress-raw-zlib" @@ -24,7 +24,12 @@ build() { package() { cd $_builddir - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 + + # conflicts with core perl + rm "$pkgdir"/usr/bin/zipdetails || return 1 + rmdir "$pkgdir"/usr/bin 2>/dev/null || true + # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } -- cgit v1.2.3