diff options
author | Erich Eckner <git@eckner.net> | 2018-04-11 15:25:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-04-11 15:25:04 +0200 |
commit | fa0061db154a22597ca3f43d8a0de73160205642 (patch) | |
tree | c5bf32f311e231d2a2bc80f5dd7693c9ed6bb103 /lib/common-functions | |
parent | 1fcb9377acd6b35241ac79a12dea28eb6f356ced (diff) | |
download | builder-fa0061db154a22597ca3f43d8a0de73160205642.tar.xz |
lib/common-functions: make_source_info: *-docs should depend on *, too
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 6 |
1 files 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 .. |