summaryrefslogtreecommitdiffstats
path: root/main/abuild/enhanced-subpkgdesc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/abuild/enhanced-subpkgdesc.patch')
-rw-r--r--main/abuild/enhanced-subpkgdesc.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/abuild/enhanced-subpkgdesc.patch b/main/abuild/enhanced-subpkgdesc.patch
new file mode 100644
index 000000000..3bcc76725
--- /dev/null
+++ b/main/abuild/enhanced-subpkgdesc.patch
@@ -0,0 +1,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