1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
6 pkgdesc="A text expansion/replacement and hotkey utility for Linux and X11."
8 url="http://code.google.com/p/autokey/"
10 depends=('python-xlib' 'python-notify' 'python2-pyinotify'
11 'python2-gobject2' 'pygtksourceview2' 'wmctrl')
12 conflicts=('autokey-gtk' 'autokey-qt')
13 install=("$pkgname.install")
14 source=("http://autokey.googlecode.com/files/${pkgname}_${pkgver}.tar.gz")
15 md5sums=('66ba62263f142fd0e0ee7e94daf9d337')
22 cd "$srcdir/$pkgname-$pkgver"
24 python2 setup.py install --prefix=/usr --root="$pkgdir/"
27 install -Dm755 debian/autokey-common.init "$pkgdir/etc/rc.d/$pkgname"
30 sed -i "s_\(env python\).*_\12_" `grep -rl "env python" "$pkgdir"`