diff options
Diffstat (limited to 'community/onboard')
-rw-r--r-- | community/onboard/PKGBUILD | 30 | ||||
-rw-r--r-- | community/onboard/onboard.install | 13 |
2 files changed, 43 insertions, 0 deletions
diff --git a/community/onboard/PKGBUILD b/community/onboard/PKGBUILD new file mode 100644 index 000000000..1a12858cf --- /dev/null +++ b/community/onboard/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 84150 2013-02-12 01:00:22Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=onboard +pkgver=0.98.2 +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=('7b44ab2873ca7b76ff1d9ab0b3398487') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + python3 setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + python3 setup.py install --root=$pkgdir/ --optimize=1 +} diff --git a/community/onboard/onboard.install b/community/onboard/onboard.install new file mode 100644 index 000000000..aa4c3e059 --- /dev/null +++ b/community/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 +} |