summaryrefslogtreecommitdiffstats
path: root/main/abuild/enhanced-subpkgdesc.patch
blob: 3bcc767251c5e238d9dfc7a0cbbd3d91c7d653fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 0187915cc2caed5bfe5fbd1f41da003d9d691fa0 Mon Sep 17 00:00:00 2001
From: William Pitcock <nenolod@dereferenced.org>
Date: Fri, 28 Jan 2011 00:46:43 +0000
Subject: default_doc/default_dev: enhanced pkgdesc

---
diff --git a/abuild.in b/abuild.in
index 904b1c3..551d759 100755
--- a/abuild.in
+++ b/abuild.in
@@ -757,7 +757,9 @@ default_doc() {
 	depends="$depends_doc"
 	install="$install_doc"
 	triggers="$triggers_doc"
+	pkgdesc="$pkgdesc (documentation)"
 	arch=${arch_doc:-"noarch"}
+
 	local i
 	for i in doc man info html sgml licenses gtk-doc; do
 		if [ -d "$pkgdir/usr/share/$i" ]; then
@@ -806,6 +808,8 @@ default_dev() {
 	depends="$pkgname $depends_dev"
 	install="$install_dev"
 	triggers="$triggers_dev"
+	pkgdesc="$pkgdesc (development files)"
+
 	for i in $origsubpackages; do
 		[ "${i%:*}" = "$subpkgname" ] || depends="$depends ${i%:*}"
 	done
--
cgit v0.8.3.3