summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in4
1 files changed, 4 insertions, 0 deletions
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