index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/common-functions | 2 |
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}" } |