1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
7 pkgdesc="A text expansion/replacement and hotkey utility for Linux and X11. Qt version."
9 url="http://code.google.com/p/autokey/"
11 depends=('python-xlib' 'kdebindings-python' 'python2-qscintilla' 'wmctrl')
12 conflicts=("$_pkg" "$_pkg-gtk")
14 install="$pkgname.install"
15 source=("http://autokey.googlecode.com/files/${_pkg}_${pkgver}.tar.gz")
16 md5sums=('4822c89beff6a1ce4c70e2caf65e516b')
22 sed -i "s_\(env python\).*_\12_" `grep -rl "env python" .`
28 python2 setup.py install --prefix=/usr --root="$pkgdir"
30 install -Dm 755 debian/autokey-common.init "$pkgdir/etc/rc.d/autokey"
32 # Remove unneeded Gtk stuff
33 rm -rf "$pkgdir"/usr/lib/python2.7/site-packages/autokey/gtk*
34 rm "$pkgdir"/usr/share/applications/autokey-gtk.desktop
35 rm "$pkgdir"/usr/share/man/man1/autokey-gtk.1
36 rm "$pkgdir"/usr/bin/autokey-gtk