Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions4
1 files changed, 1 insertions, 3 deletions
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}"