From 9ebe2024bca2bd44db48286889bd9ecd5c8c5c25 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 17 Jan 2020 14:52:01 +0100 Subject: extra/graphite: drop docs on i486 --- extra/graphite/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extra/graphite/PKGBUILD (limited to 'extra/graphite/PKGBUILD') 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 ] || / + ' +)" -- cgit v1.2.3-70-g09d2