index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-11-28 08:33:20 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-28 08:36:39 +0100 |
commit | 816ee0c04adc99cfba6f3fd7d2ef380a7caafe4d (patch) | |
tree | 8249be4776f4c0e749374ff15737b608da1ee379 /lib | |
parent | a23507bf206c2dcfcb0f65bc26ab24d2e0bb2999 (diff) |
-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}" } |