summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/librsvg/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/extra/librsvg/PKGBUILD b/extra/librsvg/PKGBUILD
new file mode 100644
index 00000000..e9d50e12
--- /dev/null
+++ b/extra/librsvg/PKGBUILD
@@ -0,0 +1,15 @@
+# target Pentium 3 without SSE2
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ /autogen.sh/ i sed -i "/cargo build/RUSTFLAGS=\"-C target-cpu=pentium3\" cargo build/g" Makefile.am
+ '
+)"
+
+eval "$(
+ declare -f build | \
+ sed '
+ s/make/make V=1/
+ '
+)"