index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-06-21 14:16:01 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-21 14:16:01 +0200 |
commit | 4a8b5198e57a0c275d20d83590e6ce0cb515ce22 (patch) | |
tree | 9d2c5b6718be2495807bdaa1255b2daaa361991e /lib/common-functions | |
parent | 028126708e6a532a807de81bd933af1f19b00eeb (diff) |
-rwxr-xr-x | lib/common-functions | 26 |
diff --git a/lib/common-functions b/lib/common-functions index 984f76c..84ff58d 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -320,11 +320,29 @@ make_source_info() { printf 'PKGBUILD = %s\n' "${PKGBUILD}" printf 'PKGBUILD_mod = %s\n' "${PKGBUILD_mod}" if [ "${package%-i18n}-i18n" = "${package}" ]; then - # *-i18n packages should have this dependency - printf '\tdepends = %s\n' "${package%-i18n}" + case "${package%-i18n}" in + 'python-oslo'|'python2-oslo') + ;; + *) + # *-i18n packages should have this dependency + printf '\tdepends = %s\n' "${package%-i18n}" + ;; + esac elif [ "${package%-doc}-doc" = "${package}" ]; then - # *-doc packages should have this dependency - printf '\tdepends = %s\n' "${package%-doc}" + case "${package%-doc}" in + 'gtk') + ;; + 'openjdk'*) + printf '\tdepends = %s\n' "${package%-doc}-src" + ;; + 'qt5') + printf '\tdepends = %s\n' "${package%-doc}-base" + ;; + *) + # *-doc packages should have this dependency + printf '\tdepends = %s\n' "${package%-doc}" + ;; + esac elif [ "${package%-docs}-docs" = "${package}" ]; then # *-doc packages should have this dependency printf '\tdepends = %s\n' "${package%-docs}" |