Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/common-functions6
1 files changed, 6 insertions, 0 deletions
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 /