From 191f125d5352072a983d406c5f5be55acb3c7105 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 4 May 2018 11:43:33 +0200 Subject: lib/common-functions: mangle_pkgbuild: already include future architectures (they will still be ignored, currently) --- lib/common-functions | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/common-functions') 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}" -- cgit v1.2.3-54-g00ecf