Subject: [alpine-aports] [PATCH] main/perl: restore the current compatibility

From: Valery Kartel <[email-masked]>
Date: Mon, 13 Feb 2017 10:02:58 +0200

- describe to which module belongs the script
- remove from -dev all the scripts that belong to the modules
---
 main/perl/APKBUILD | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD
index 6ee6da23b1..6c11576848 100644
--- a/main/perl/APKBUILD
+++ b/main/perl/APKBUILD
@@ -3,7 +3,7 @@
 # Contributor: Valery Kartel <[email-masked]>
 pkgname=perl
 pkgver=5.24.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Larry Wall's Practical Extraction and Report Language"
 url="http://www.perl.org/"
 arch="all"
@@ -92,10 +92,15 @@ dev() {
 	mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/$_archlib "$subpkgdir"/$_privlib
 	mv "$pkgdir"/$_archlib/Devel "$subpkgdir"/$_archlib/ || return 1
 	mv "$pkgdir"/$_privlib/Encode "$subpkgdir"/$_privlib/ || return 1
+#
+# Encode: enc2xs
+# Module-Corelist: corelist
+# Perldoc: perldoc
+# podlators: pod2man pod2txt
+# 
 	local file
-	for file in c2ph corelist enc2xs instmodsh h2ph h2xs libnetcfg perldoc \
-		perlivp perlthanks pl2pm pod2html pod2man pod2text pod2usage \
-		podchecker podselect xsubpp $pkgname$pkgver
+	for file in c2ph instmodsh h2ph h2xs libnetcfg perlivp perlthanks \
+		pl2pm pod2html pod2usage podchecker podselect xsubpp $pkgname$pkgver
 	do
 		mv "$pkgdir"/usr/bin/$file "$subpkgdir"/usr/bin/ || return 1
 	done
@@ -109,6 +114,15 @@ utils() {
 	pkgdesc="$pkgdesc (misc utilities)"
 	depends="$pkgname"
 	mkdir -p "$subpkgdir"/usr/bin
+#
+# Archive-Tar: ptar ptardiff ptargrep
+# CPAN: cpan
+# Encode: encquess piconv
+# Digest-SHA-PurePerl: shasum
+# IO-Compress: zipdetails
+# JSON-PP: json_pp
+# Test-Harness: prove
+#
 	local file
 	for file in cpan encguess json_pp piconv ptar ptardiff ptargrep shasum \
 		splain zipdetails prove
-- 
2.11.0

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---