summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-08-22 10:59:38 +0200
committerErich Eckner <git@eckner.net>2019-08-22 10:59:38 +0200
commitd398eaa4e9f928205cdb055b0ce536eaee108e64 (patch)
tree43b769417aa400ae7ca41928d3db771e13f1b8e8 /lib/common-functions
parent50ad9f8b90d941a9c58946bd4302036a457013b0 (diff)
downloadbuilder-d398eaa4e9f928205cdb055b0ce536eaee108e64.tar.xz
lib/common-functions: add dependencies for linux-*-{docs,headers} -> linux-* with version
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 169b209..053cbfa 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -359,12 +359,15 @@ make_source_info() {
sed -i '
/^pkgname = /! b
/= gtk-doc$/ b
+ /= linux-api-headers$/ b
s/= \(openjdk[0-9]\+\)-doc$/\0\n\tdepends = \1-src/
t append_version
s/= \(qt5\)-doc$/\0\n\tdepends = \1-base/
t append_version
s/= \(\S\+\)-i18n-\S\+$/\0\n\tdepends = \1/
t append_version
+ s/= \(linux\(-\S\+\)\?\)-\(docs\|headers\)$/\0\n\tdepends = \1/
+ t append_version
b
:append_version
s/$/='"${epoch}${epoch+:}${pkgver}"'/