Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-26 21:41:04 +0200
committerErich Eckner <git@eckner.net>2017-06-26 21:41:04 +0200
commitbe65f170df33778ac308d32c6561be8484005805 (patch)
treedfeef622f0e1d49eb7737b0160ef8107eb09359b
parentd225f3c81759e3cd7f31ca66634aae5581ed2e94 (diff)
bin/common-functions: use runtime dependencies instead of compiletime dependencies
-rwxr-xr-xbin/common-functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 3501b69..a6069eb 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -241,9 +241,9 @@ generate_package_metadata() {
sort -u > \
"${file_prefix}.packages"
- # extract "needs" = ( makedepends \cup checkdepends ) \setminus "builds"
+ # extract "needs" = depends \setminus "builds"
(
- grep "$(printf '^\t\\(makedepends\\|checkdepends\\) = ')" "${file_prefix}.SRCINFO" | \
+ grep "$(printf '^\tdepends = ')" "${file_prefix}.SRCINFO" | \
cut -d= -f2 | \
sed 's|^\s\+||; s|[<>]$||' | \
sort -u