updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / autokey / PKGBUILD
blob0ff944fea8ca63e27604d091bd58771cd9b01ca8
1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
3 pkgname=autokey
4 pkgver=0.81.2
5 pkgrel=1
6 pkgdesc="A text expansion/replacement and hotkey utility for Linux and X11."
7 arch=('any')
8 url="http://code.google.com/p/autokey/"
9 license=('GPL3')
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')
17 build() {
18   return 0
21 package() {
22   cd "$srcdir/$pkgname-$pkgver"
24   python2 setup.py install --prefix=/usr --root="$pkgdir/"
26   # init script
27   install -Dm755 debian/autokey-common.init "$pkgdir/etc/rc.d/$pkgname"
29   # python2 fix
30   sed -i "s_\(env python\).*_\12_" `grep -rl "env python" "$pkgdir"`