Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
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 ] || /
+ '
+)"