Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/common-functions9
1 files changed, 8 insertions, 1 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 84f4a62..323a111 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -644,7 +644,14 @@ make_source_info() {
cd "${tmp_dir}"
makepkg --printsrcinfo
cd ..
- } > \
+ } |
+ if [ "${package%-i18n}-i18n" = "${package}" ]; then
+ sed '
+ 1 a \\tdepends = '"${package%-i18n}"'
+ '
+ else
+ cat
+ fi > \
"${output}"
)