Subject: [alpine-aports] [PATCH] testing/fbida: attempt to fix the install_if value for -doc subpackages

From: Sören Tempel <[email-masked]>
Date: Mon, 21 Sep 2015 15:11:41 +0200

---
 testing/fbida/APKBUILD | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/testing/fbida/APKBUILD b/testing/fbida/APKBUILD
index e3565e3..956df3a 100644
--- a/testing/fbida/APKBUILD
+++ b/testing/fbida/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Sören Tempel <[email-masked]>
 pkgname=fbida
 pkgver=2.10
-pkgrel=1
+pkgrel=2
 pkgdesc="Few applications to display and elementary edit images"
 url="http://www.kraxel.org/blog/linux/$pkgname/"
 arch="all"
@@ -35,7 +35,7 @@ package() {
 
 _tool() {
 	local name=$(echo $subpkgname | cut -d '-' -f2)
-	pkgdesc="$pkgname tool $name"
+	pkgdesc="$name tool from $pkgname"
 
 	depends="$pkgname"
 	if [ "${name}" = "fbgs" ]; then
@@ -49,9 +49,9 @@ _tool() {
 
 _tool_doc() {
 	local name=$(echo $subpkgname | cut -d '-' -f2)
-	pkgdesc="$pkgname tool $name (documentation)"
+	pkgdesc="$name tool from $pkgname (documentation)"
 	arch="noarch"
-	install_if="docs $pkgname=$pkgver-r$pkgrel"
+	install_if="docs $pkgname-$name=$pkgver-r$pkgrel"
 
 	mkdir -p "$subpkgdir"/usr/share/man/man1
 	mv "$pkgdir"/usr/share/man/man1/$name.1 \
-- 
2.5.3

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