From 0a33f622d01c873a7d4e08d3a71ecf816d1d6a27 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Tempel?= <soeren+git@soeren-tempel.net>
Date: Fri, 30 Sep 2016 11:44:51 +0200
Subject: [PATCH] main/tmux: install more optional doc files

---
 main/tmux/APKBUILD | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/main/tmux/APKBUILD b/main/tmux/APKBUILD
index 0a37a66871a4..a5a3b2813283 100644
--- a/main/tmux/APKBUILD
+++ b/main/tmux/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
 pkgname=tmux
 pkgver=2.3
-pkgrel=0
+pkgrel=1
 pkgdesc="Tool to control multiple terminals from a single terminal"
 url="http://tmux.sourceforge.net/"
 arch="all"
@@ -38,11 +38,13 @@ package() {
 	cd "$builddir"
 	make DESTDIR="$pkgdir" install || return 1
 
-	install -Dm644 CHANGES \
-		"$pkgdir"/usr/share/doc/$pkgname/CHANGES || return 1
 	install -Dm644 example_tmux.conf \
 		"$pkgdir"/usr/share/doc/$pkgname/examples/$pkgname.conf \
 		|| return 1
+	for file in CHANGES FAQ README TODO; do
+		install -m644 "$file" "$pkgdir"/usr/share/doc/$pkgname/ \
+			|| return 1
+	done
 }
 
 md5sums="fcfd1611d705d8b31df3c26ebc93bd3e  tmux-2.3.tar.gz"
-- 
GitLab