summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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@
+ '
+)"