Commit 0187915c authored by Ariadne Conill's avatar Ariadne Conill

default_doc/default_dev: enhanced pkgdesc

parent 58caf298
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment