summaryrefslogtreecommitdiff
path: root/community-staging/onboard
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-12 00:41:00 -0700
committerroot <root@rshg054.dnsready.net>2012-10-12 00:41:00 -0700
commitdfbf90f39b87d2f5ae24b41e47243ddf70d30d2b (patch)
tree9c78f70a856b78c26246cd13ccc23757e5655e79 /community-staging/onboard
parenta9727414be0e6e6c099610a2dbfa21fbe0c9ae83 (diff)
Fri Oct 12 00:40:57 PDT 2012
Diffstat (limited to 'community-staging/onboard')
-rw-r--r--community-staging/onboard/PKGBUILD27
-rw-r--r--community-staging/onboard/onboard.install13
2 files changed, 40 insertions, 0 deletions
diff --git a/community-staging/onboard/PKGBUILD b/community-staging/onboard/PKGBUILD
new file mode 100644
index 000000000..236f0046b
--- /dev/null
+++ b/community-staging/onboard/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 77541 2012-10-12 02:28:37Z bgyorgy $
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=onboard
+pkgver=0.98.1
+pkgrel=1
+pkgdesc="On-screen keyboard useful on tablet PCs or for mobility impaired users"
+arch=('i686' 'x86_64')
+url="https://launchpad.net/onboard"
+license=('GPL')
+depends=('python-dbus' 'python-gobject' 'gtk3' 'python-virtkey' 'librsvg' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('python-distutils-extra')
+optdepends=('at-spi2-atk: auto-show when editing text'
+ 'mousetweaks: hover click with mouse')
+options=('!emptydirs')
+install=$pkgname.install
+source=(http://launchpad.net/$pkgname/${pkgver%.*}/$pkgver/+download/$pkgname-$pkgver.tar.gz)
+md5sums=('107e031b429329b71deb67c9b90195d6')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Do not set getpreferredencoding, because it breaks getstatusoutput() in the setup script
+ sed -i '/getpreferredencoding =/ d' setup.py
+
+ python3 setup.py install --root=$pkgdir/ --optimize=1
+}
diff --git a/community-staging/onboard/onboard.install b/community-staging/onboard/onboard.install
new file mode 100644
index 000000000..aa4c3e059
--- /dev/null
+++ b/community-staging/onboard/onboard.install
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}