From fa0061db154a22597ca3f43d8a0de73160205642 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 11 Apr 2018 15:25:04 +0200 Subject: lib/common-functions: make_source_info: *-docs should depend on *, too --- lib/common-functions | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/common-functions b/lib/common-functions index 043e607..59af46f 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -520,10 +520,12 @@ make_source_info() { if [ "${package%-i18n}-i18n" = "${package}" ]; then # *-i18n packages should have this dependency printf '\tdepends = %s\n' "${package%-i18n}" - fi - if [ "${package%-doc}-doc" = "${package}" ]; then + elif [ "${package%-doc}-doc" = "${package}" ]; then # *-doc packages should have this dependency printf '\tdepends = %s\n' "${package%-doc}" + elif [ "${package%-docs}-docs" = "${package}" ]; then + # *-doc packages should have this dependency + printf '\tdepends = %s\n' "${package%-docs}" fi makepkg --printsrcinfo cd .. -- cgit v1.2.3-70-g09d2