Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-12-20 10:43:43 +0100
committerErich Eckner <git@eckner.net>2019-12-20 10:43:43 +0100
commit5ce1392ccbadc03b0967ce4bc0e2e6bbcf507fa4 (patch)
tree1a0f848740862aabbdf0f83cd6d3ef1fe6782220 /extra
parent9ec33eee75e2b600285161f9bebe8a11836da941 (diff)
extra/cups: remove avahi and cups-filters to be buildable on i486
Diffstat (limited to 'extra')
-rw-r--r--extra/cups/PKGBUILD25
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 ] || /
+ '
+)"