Mail archive
alpine-aports

[alpine-aports] [PATCH] main/mc: in addition to previous commit ... Serbian menu file /etc/mc/mc.menu.sr moved to -lang, README's from /usr/lib/mc moved to -doc

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Fri, 15 Jan 2016 01:27:35 +0200

---
 main/mc/APKBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/main/mc/APKBUILD b/main/mc/APKBUILD
index dbd0692..1638c7a 100644
--- a/main/mc/APKBUILD
+++ b/main/mc/APKBUILD
_at_@ -61,11 +61,15 @@ doc() {
 	rm -fr "$subpkgdir"/usr/share/man/??
 	mkdir -p "$subpkgdir"/usr/share/doc
 	mv "$pkgdir"/usr/share/mc/examples "$subpkgdir"/usr/share/doc/mc
+	find "$pkgdir"/usr/lib/mc -name README* -exec mv {} "$subpkgdir"/usr/share/doc/mc/ \;
 }
 
 lang() {
 	default_lang;
-	mkdir -p "$subpkgdir"/usr/share/mc/help "$subpkgdir"/usr/share/mc/hints
+	mkdir -p "$subpkgdir"/etc/mc \
+		"$subpkgdir"/usr/share/mc/help \
+		"$subpkgdir"/usr/share/mc/hints
+	mv "$pkgdir"/etc/mc/mc.menu.* "$subpkgdir"/etc/mc/
 	mv "$pkgdir"/usr/share/mc/help/mc.hlp.* "$subpkgdir"/usr/share/mc/help/
 	mv "$pkgdir"/usr/share/mc/hints/mc.hint.* "$subpkgdir"/usr/share/mc/hints/
 }
-- 
2.7.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jan 15 2016 - 01:27:35 GMT