summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-15 15:26:35 +0200
committerErich Eckner <git@eckner.net>2018-05-15 15:26:35 +0200
commit50141dcac3a55efbf4407df86461f11170250707 (patch)
treea3f928af718279e482829e6ea167f90f3a88e1cd /lib/common-functions
parenta029cf1039088a995ff629eaffe4df1b3fb7c030 (diff)
downloadbuilder-50141dcac3a55efbf4407df86461f11170250707.tar.xz
lib/common-functions: add todo
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 a4cc1ef..7194abb 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -367,6 +367,9 @@ mangle_pkgbuild() {
s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/
' "${PKGBUILD}"
+# TODO: this interferes with "makepkg --printsrcinfo" - while the PKGBUILD works as intended,
+# depends will/may become empty - see for example make_source_info python-numpy extra 206b8d75680b579f547b9d588e63eb6f7c6c58e6 5b5a33cf88d0bba4bb363f8cffe12c56c9771361 /tmp/bla/SRCINFO
+
sed -i '
/^\s*\(\(make\|check\|opt\|\)depends\)=(/ {
:a