summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 48ba931..ae42a03 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -461,9 +461,11 @@ mangle_pkgbuild() {
ba
}
}
- s/\(["'"'"'([:space:]]\)lib32-/\1/g
- s/\(["'"'"'([:space:]]\)gcc-multilib\(["'"'"')[:space:]]\)/\1gcc\2/g
- s/\(["'"'"'([:space:]]\S\+[<=>]\S\+\)-[^:"'"'"')[:space:]]\+\([:"'"'"')[:space:]]\)/\1\2/g
+ :b
+ s/\(=.*["'"'"'([:space:]]\)lib32-/\1/g
+ s/\(=.*["'"'"'([:space:]]\)gcc-multilib\(["'"'"')[:space:]]\)/\1gcc\2/g
+ s/\(=.*["'"'"'([:space:]]\S\+[<=>]\S\+\)-[^:"'"'"')[:space:]]\+\([:"'"'"')[:space:]]\)/\1\2/g
+ tb
}
' "${PKGBUILD}"
}