diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 06:43:28 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-16 06:45:48 +0000 |
commit | 19bc7fdf92a066d05e08269617d6df53cc712d3b (patch) | |
tree | f756bb5af32cdac80b1e7d8446774fff8f83085b /main/perl-io-compress | |
parent | bd91ab871ce52b3b852d619db68eb4dcfa35aa58 (diff) | |
download | aports-19bc7fdf92a066d05e08269617d6df53cc712d3b.tar.bz2 aports-19bc7fdf92a066d05e08269617d6df53cc712d3b.tar.xz |
main/perl-io-compress: exclude zipdetails
zipdetails is provided by core perl package
ref #2892
also update url
Diffstat (limited to 'main/perl-io-compress')
-rw-r--r-- | main/perl-io-compress/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
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 } |