Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/multilib/wine/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-27 13:14:21 +0200
committerErich Eckner <git@eckner.net>2017-10-27 13:14:21 +0200
commit33583ac95530311fed1766773d4b16e1c402216f (patch)
treecb780fc0793857f92f6fc63bb71e663d9abef6ef /multilib/wine/PKGBUILD
parent775a243b3eaa24fc1636060478d45c8da64733b1 (diff)
multilib/wine: clean up cross compilation stuff
Diffstat (limited to 'multilib/wine/PKGBUILD')
-rw-r--r--multilib/wine/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/multilib/wine/PKGBUILD b/multilib/wine/PKGBUILD
new file mode 100644
index 00000000..f19b3ec7
--- /dev/null
+++ b/multilib/wine/PKGBUILD
@@ -0,0 +1,20 @@
+# remove cross-compiling-prefixes
+
+eval "$(
+ sed '
+ s/lib32-//g
+ /^# remove cross-compiling-prefixes$/q
+ ' "${BASH_SOURCE[0]}"
+)"
+
+# and gcc-multilib
+
+makedepends=($(
+ printf '%s\n' "${makedepends[@]}" | \
+ sed '/^gcc-multilib/d'
+))
+
+# and these guys, too
+unset replaces
+unset conflicts
+unset provides