From 282971c9c4cc973ab9966f4bdb55029d43fda2b2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 12 Nov 2017 20:50:33 +0100 Subject: bin/common-functions: make $pkgname-i18n appear depending on $pkgname --- bin/common-functions | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'bin/common-functions') 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}" ) -- cgit v1.2.3-70-g09d2