summaryrefslogtreecommitdiff
path: root/i486-stage1/nasm/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/nasm/DESCR')
-rw-r--r--i486-stage1/nasm/DESCR11
1 files changed, 11 insertions, 0 deletions
diff --git a/i486-stage1/nasm/DESCR b/i486-stage1/nasm/DESCR
new file mode 100644
index 0000000..7a7ecb8
--- /dev/null
+++ b/i486-stage1/nasm/DESCR
@@ -0,0 +1,11 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# remove all fonts and ghostscript (we don't build the manual)
+sed -i "/makedepends=/s/perl-font-ttf//" PKGBUILD
+sed -i "/makedepends=/s/perl-sort-versions//" PKGBUILD
+sed -i "/makedepends=/s/fontconfig//" PKGBUILD
+sed -i "/makedepends=/s/adobe-source-sans-pro-fonts//" PKGBUILD
+sed -i "/makedepends=/s/ttf-liberation//" PKGBUILD
+sed -i "/makedepends=/s/ghostscript//" PKGBUILD
+sed -i "s/\(make -C doc\)/#\1/" PKGBUILD