index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/common-functions | 6 |
diff --git a/lib/common-functions b/lib/common-functions index ce33a4f..d2de0c4 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -561,6 +561,12 @@ mangle_pkgbuild() { sub_pkgrel=".${sub_pkgrel}" fi + if grep -q '^\s*pkgname=["'"'"']\?lib32-' "${PKGBUILD}"; then + sed -i ' + s/^\(\s*pkgrel=\)['"'"'"]\?\([0-9]\+\)\.[0-9]*['"'"'"]\?\s*\(#.*\)\?$/\1"\2"/ + ' "${PKGBUILD}" + fi + sed -i ' /^arch=[^#]*any/!{ /^arch=(/s/(/(i686 / |