Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/graphite
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-17 14:52:01 +0100
committerErich Eckner <git@eckner.net>2020-01-17 14:52:01 +0100
commit9ebe2024bca2bd44db48286889bd9ecd5c8c5c25 (patch)
tree53098fb005087eb3a4a4ede9d2cb34fe5e67ef19 /extra/graphite
parentf445e64d575082235d5ab21c6a0f890c90af620d (diff)
extra/graphite: drop docs on i486
Diffstat (limited to 'extra/graphite')
-rw-r--r--extra/graphite/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/graphite/PKGBUILD b/extra/graphite/PKGBUILD
new file mode 100644
index 00000000..8d8caf4b
--- /dev/null
+++ b/extra/graphite/PKGBUILD
@@ -0,0 +1,16 @@
+# drop "docdepends" on i486
+
+makedepends_i686=('doxygen' 'dblatex' 'graphviz' 'asciidoc')
+makedepends_pentium4=("${makedepends_i686[@]}")
+makedepends=(
+ $(
+ printf '%s\n' "${makedepends[@]}" \
+ | grep -vxF "$(printf '%s\n' "${makedepends_i686[@]}")"
+ )
+)
+eval "$(
+ declare -f build package \
+ | sed '
+ /doc/ s/^/[ "${CARCH}" = i486 ] || /
+ '
+)"