Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/brltty
diff options
context:
space:
mode:
Diffstat (limited to 'extra/brltty')
-rw-r--r--extra/brltty/PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/extra/brltty/PKGBUILD b/extra/brltty/PKGBUILD
new file mode 100644
index 00000000..cf6a11f2
--- /dev/null
+++ b/extra/brltty/PKGBUILD
@@ -0,0 +1,20 @@
+# no java on i486 at the moment
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//java-environment/})
+fi
+
+# add espeak explicitely on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends+=(espeak)
+fi
+
+# no polkit on i486
+if [ "$CARCH" = 'i486' ]; then
+ makedepends=(${makedepends[@]//polkit/})
+ eval "$(
+ declare -f package | \
+ sed '
+ /polkit/d
+ '
+ )"
+fi