# Maintainer: Kavya Gokul # Derived from PKGBUILD here https://aur.archlinux.org/packages/autokey/ # Contributor: Dmitry Kharitonov # Contributor: Dave Blair pkgname=autokey-patched pkgver=0.95.10 pkgrel=1 pkgdesc="AutoKey, a desktop automation utility for Linux and X11, updated to run on Python 3, with additional patch from here to fix issues in Firefox https://code.google.com/archive/p/autokey/issues/278" arch=('i686' 'x86_64') url="https://github.com/autokey/autokey" depends=('python' 'wmctrl' 'python-dbus' 'python-pyinotify' 'zenity' 'xautomation' 'imagemagick' 'xorg-xwd' 'python-xlib' 'python-setuptools' 'python-gobject' 'gtksourceview3' 'libnotify' 'libappindicator-gtk3' 'gtk-update-icon-cache') optdepends=('kdialog: for Qt interface' 'python-pyqt5: for Qt interface' 'python-qscintilla-qt5: for Qt interface' 'qt5-svg: for Qt interface' 'qt-at-spi: to work with KDE/Qt applications' 'python-atspi: for ATSPI in Gtk interface') replaces=('autokey-py3' 'autokey') conflicts=('autokey') license=('GPL3') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/autokey-py3/autokey/archive/v${pkgver}.tar.gz") sha256sums=('e622ca04b3340f1ca0999bf03f05c9071a9f8aa3bc91c26c45c35509d63ff23d') prepare() { patch -p1 -i "../autokey.patch" } package() { cd "$srcdir/autokey-${pkgver}" python setup.py install --root="$pkgdir" --optimize=1 }