diff options
-rwxr-xr-x | abuild.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |