summaryrefslogtreecommitdiff
path: root/core/pacman/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-14 15:16:13 +0200
committerErich Eckner <git@eckner.net>2018-09-14 15:16:13 +0200
commit5e06535e22788a5f119f908621412a8a86d8a692 (patch)
tree257b6673ea725af4eb87d8491c1fa5bfc82b90bf /core/pacman/PKGBUILD
parentb2b8023c637c8579ce900c7113c4783ae5dea1fd (diff)
downloadpackages-5e06535e22788a5f119f908621412a8a86d8a692.tar.xz
copy over i486 changes for [core]
Diffstat (limited to 'core/pacman/PKGBUILD')
-rw-r--r--core/pacman/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index ed748bb4..86372fc6 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -11,3 +11,15 @@ for ((i=0; i<${#sha256sums[@]}; i++)); do
sha256sums[${i}]='d1c3e5f9b7259e401ab121aff335531452d23dc67d9e6c2f464771d25f11058a'
fi
done
+
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # patch architecture where needed
+ eval "$(
+ declare -f package | \
+ sed '
+ /install.*makepkg.conf/ a \
+ sed -i "s@i686@i486@g" "$pkgdir/etc/makepkg.conf"
+ '
+ )"
+fi