Mail archive
alpine-aports

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

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
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
_at_@ -2,7 +2,7 @@
 # Maintainer: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
 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"
_at_@ -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
_at_@ -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:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Sep 21 2015 - 15:11:41 GMT