diff options
author | Erich Eckner <git@eckner.net> | 2019-12-20 10:43:43 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-20 10:43:43 +0100 |
commit | 5ce1392ccbadc03b0967ce4bc0e2e6bbcf507fa4 (patch) | |
tree | 1a0f848740862aabbdf0f83cd6d3ef1fe6782220 /extra | |
parent | 9ec33eee75e2b600285161f9bebe8a11836da941 (diff) | |
download | packages-5ce1392ccbadc03b0967ce4bc0e2e6bbcf507fa4.tar.xz |
extra/cups: remove avahi and cups-filters to be buildable on i486
Diffstat (limited to 'extra')
-rw-r--r-- | extra/cups/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
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 ] || / + ' +)" |