aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-compress-raw-zlib
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-01-29 23:39:03 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2016-02-09 18:06:29 +0000
commitb80d6074de1e5f4ce5a5345cc98b1fe4f021c5b7 (patch)
tree38c474bdbf5eb7dd876061dc9799f0ffd2b6f74e /main/perl-compress-raw-zlib
parentb255c579ad53de64d6acf05b35fd4243b57405d6 (diff)
downloadaports-b80d6074de1e5f4ce5a5345cc98b1fe4f021c5b7.tar.bz2
aports-b80d6074de1e5f4ce5a5345cc98b1fe4f021c5b7.tar.xz
main/perl-compress-raw-zlib: remove man pages
They seem to be already provided by perl-doc. Installing perl-doc and perl-compress-raw-zlib-doc should thus result in a conflict.
Diffstat (limited to 'main/perl-compress-raw-zlib')
-rw-r--r--main/perl-compress-raw-zlib/APKBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/main/perl-compress-raw-zlib/APKBUILD b/main/perl-compress-raw-zlib/APKBUILD
index 398aa347e7..4fa9164e77 100644
--- a/main/perl-compress-raw-zlib/APKBUILD
+++ b/main/perl-compress-raw-zlib/APKBUILD
@@ -3,7 +3,7 @@
pkgname=perl-compress-raw-zlib
_realname=Compress-Raw-Zlib
pkgver=2.069
-pkgrel=0
+pkgrel=1
pkgdesc="Perl low-level interface to zlib compression library"
url="http://search.cpan.org/dist/Compress-Raw-Zlib/"
arch="all"
@@ -11,11 +11,10 @@ license="GPL PerlArtistic"
depends="perl"
makedepends="perl-dev"
install=
-subpackages="$pkgname-doc"
+subpackages=""
source="http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/${_realname}-${pkgver}.tar.gz"
_builddir="$srcdir/$_realname-$pkgver"
-
build() {
cd $_builddir
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
@@ -28,6 +27,9 @@ package() {
make DESTDIR="$pkgdir" install
# creates file collision among perl modules
find "$pkgdir" -name perllocal.pod -delete
+
+ # man pages are already provided by perl-doc
+ rm -rf /usr/share/man || return 1
}
md5sums="c1f99178e6e29b0037785afa6d8bbcff Compress-Raw-Zlib-2.069.tar.gz"