index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
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/cups/PKGBUILD | |
parent | 9ec33eee75e2b600285161f9bebe8a11836da941 (diff) |
-rw-r--r-- | extra/cups/PKGBUILD | 25 |
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 ] || / + ' +)" |