Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/multilib/fasm/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'multilib/fasm/PKGBUILD')
-rw-r--r--multilib/fasm/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/multilib/fasm/PKGBUILD b/multilib/fasm/PKGBUILD
new file mode 100644
index 00000000..895ff6c5
--- /dev/null
+++ b/multilib/fasm/PKGBUILD
@@ -0,0 +1,11 @@
+depends_i686=('glibc')
+
+eval "$(
+ declare -f build | \
+ sed '
+ s@if .*CARCH.* == .*x86_64@if [ "${CARCH}" == "i686" ]; then\
+ SRCDIR=Linux \
+ ./fasm source/${SRCDIR}/fasm.asm\
+ el\0@
+ '
+)"