index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-04 11:43:33 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-04 11:43:33 +0200 |
commit | 191f125d5352072a983d406c5f5be55acb3c7105 (patch) | |
tree | 430fcaab21c3a23b771bc78a8d63c189f097a5d4 /lib | |
parent | 3c7219daab4bc70e5a743972561d28effea9429a (diff) |
-rwxr-xr-x | lib/common-functions | 4 |
diff --git a/lib/common-functions b/lib/common-functions index 4e9570a..b6d40f9 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -551,8 +551,6 @@ recursively_umount_and_rm() { # append $sub_pkgrel to the pkgrel # remove "lib32-" from {make,check,opt,}depends -# TODO: actually include the other architectures - mangle_pkgbuild() { local PKGBUILD="$1" local sub_pkgrel="$2" @@ -569,7 +567,7 @@ mangle_pkgbuild() { sed -i ' /^arch=[^#]*any/!{ - /^arch=(/s/(/(i686 / + /^arch=(/s/(/(i686 i486 pentium3 / } s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9.]\+\)['"'"'"]\?\s*\(#.*\)\?$/\1"\2'"${sub_pkgrel}"'"/ ' "${PKGBUILD}" |