Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/common-functions b/lib/common-functions
index f9717eb..48ba931 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -429,6 +429,7 @@ recursively_umount_and_rm() {
# mangle $arch in PKBUILDs to contain i486, i686, pentium4
# append $sub_pkgrel to the pkgrel
# remove "lib32-" and "gcc-multilib" from {make,check,opt,}depends
+# remove $pkgrel from {make,check,opt,}depends
mangle_pkgbuild() {
local PKGBUILD="$1"
@@ -462,6 +463,7 @@ mangle_pkgbuild() {
}
s/\(["'"'"'([:space:]]\)lib32-/\1/g
s/\(["'"'"'([:space:]]\)gcc-multilib\(["'"'"')[:space:]]\)/\1gcc\2/g
+ s/\(["'"'"'([:space:]]\S\+[<=>]\S\+\)-[^:"'"'"')[:space:]]\+\([:"'"'"')[:space:]]\)/\1\2/g
}
' "${PKGBUILD}"
}