From 5ce1392ccbadc03b0967ce4bc0e2e6bbcf507fa4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 20 Dec 2019 10:43:43 +0100 Subject: extra/cups: remove avahi and cups-filters to be buildable on i486 --- extra/cups/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 extra/cups/PKGBUILD diff --git a/extra/cups/PKGBUILD b/extra/cups/PKGBUILD new file mode 100644 index 00000000..58889d79 --- /dev/null +++ b/extra/cups/PKGBUILD @@ -0,0 +1,25 @@ +makedepends_i686=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -xF "$( + printf '%s\n' avahi cups-filters + )" + ) +) +makedepends_pentium4=( + "${makedepends_i686[@]}" +) +makedepends=( + $( + printf '%s\n' "${makedepends[@]}" \ + | grep -vxF "$( + printf '%s\n' avahi cups-filters + )" + ) +) +eval "$( + declare -f package_cups \ + | sed ' + /desktop/ s/^/[ "${CARCH}" = i486 ] || / + ' +)" -- cgit v1.2.3-70-g09d2