Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions6
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 ..