From 0187915cc2caed5bfe5fbd1f41da003d9d691fa0 Mon Sep 17 00:00:00 2001 From: William Pitcock 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