diff options
Diffstat (limited to 'main/perl-io-compress/APKBUILD')
-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 } |