Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions26
1 files changed, 22 insertions, 4 deletions
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}"