summaryrefslogtreecommitdiff
path: root/packages/opie-dvorak/opie-dvorak.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-dvorak/opie-dvorak.inc')
-rw-r--r--packages/opie-dvorak/opie-dvorak.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/opie-dvorak/opie-dvorak.inc b/packages/opie-dvorak/opie-dvorak.inc
index e69de29bb2..6501dd09f7 100644
--- a/packages/opie-dvorak/opie-dvorak.inc
+++ b/packages/opie-dvorak/opie-dvorak.inc
@@ -0,0 +1,34 @@
+DESCRIPTION = "Dvorak keyboard input method"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "opie-pickboard"
+RDEPENDS = "opie-pickboard"
+APPNAME = "qdvorak"
+
+S = "${WORKDIR}/dvorak"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+
+}
+
+pkg_postrm() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+}
+
+# FILES plugins/inputmethods/libqdvorak.so*
+do_install() {
+}
+