Mail archive
alpine-aports

[alpine-aports] [PATCH] community/perl-unicode-collate: fix -doc installation

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Thu, 19 Jan 2017 11:03:21 +0200

unicode-collate manuals are the same as in perl-doc,
so it needs allow to replace perl-doc.
---
 community/perl-unicode-collate/APKBUILD | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/community/perl-unicode-collate/APKBUILD b/community/perl-unicode-collate/APKBUILD
index 1400ca361f..03378b477c 100644
--- a/community/perl-unicode-collate/APKBUILD
+++ b/community/perl-unicode-collate/APKBUILD
_at_@ -4,7 +4,7 @@
 pkgname=perl-unicode-collate
 _pkgreal=Unicode-Collate
 pkgver=1.19
-pkgrel=0
+pkgrel=1
 pkgdesc="Unicode Collation Algorithm"
 url="http://search.cpan.org/dist/Unicode-Collate/"
 arch="all"
_at_@ -37,6 +37,11 @@ package() {
 	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
 }
 
+doc() {
+	default_doc
+	replaces="perl-doc"
+}
+
 md5sums="6f9dcc7801fa2516993dcb59f8b61f6d  Unicode-Collate-1.19.tar.gz"
 sha256sums="c3ff558c28d4fecb6fb77fbc1936518536e115c3b1eed9b990755e00bb479570  Unicode-Collate-1.19.tar.gz"
 sha512sums="580bca6e96dd474b223ec9f971d6b8a4fc96d1bbffdc278dfa679d511455940e088f19069647715c2ae7c8e52972a59107cbc6d1bf3537de1c314feab2f4c21b  Unicode-Collate-1.19.tar.gz"
-- 
2.11.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Jan 19 2017 - 11:03:21 GMT