summaryrefslogtreecommitdiff
path: root/community/onboard/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/onboard/PKGBUILD')
-rw-r--r--community/onboard/PKGBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/community/onboard/PKGBUILD b/community/onboard/PKGBUILD
index 3050d8c89..f55da6bd6 100644
--- a/community/onboard/PKGBUILD
+++ b/community/onboard/PKGBUILD
@@ -1,32 +1,24 @@
-# $Id: PKGBUILD 74690 2012-08-02 07:36:24Z bgyorgy $
+# $Id: PKGBUILD 75934 2012-09-05 19:46:18Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=onboard
-pkgver=0.97.1
-pkgrel=2
+pkgver=0.98.0
+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=('python2-cairo' 'python2-dbus' 'python2-gobject' 'libwnck3' 'python2-virtkey' 'gsettings-desktop-schemas' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'xdg-utils')
-makedepends=('python2-distutils-extra')
+depends=('python-cairo' 'python-dbus' 'python-gobject' 'gtk3' 'python-virtkey' '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=('065dcdf89d5fe145ad7876c5721c0df5')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- sed -i 's/\"python\"/\"python2\"/g' scripts/sokSettings.py
-
- python2 setup.py install --root=$pkgdir/ --optimize=1
-}
+md5sums=('0a2627840740f271e5daba4c1c9c9096')
package() {
- cd "$pkgdir"
+ cd "$srcdir/$pkgname-$pkgver"
- find . -type f -name *.py | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+ python setup.py install --root=$pkgdir/ --optimize=1
}