2016-03-02 08:54:56 +00:00
|
|
|
# Template file for 'autokey'
|
|
|
|
pkgname=autokey
|
|
|
|
version=0.90.4
|
2016-10-01 09:37:25 +00:00
|
|
|
revision=2
|
2016-03-02 08:54:56 +00:00
|
|
|
noarch=yes
|
|
|
|
build_style="python-module"
|
|
|
|
python_versions="2.7"
|
|
|
|
pycompile_version="2.7"
|
|
|
|
pycompile_module="autokey"
|
2016-10-01 09:46:15 +00:00
|
|
|
hostmakedepends="python"
|
2016-03-02 08:54:56 +00:00
|
|
|
makedepends="python"
|
|
|
|
depends="python python-xlib python-inotify python-simplejson wmctrl"
|
2016-10-01 09:37:25 +00:00
|
|
|
short_desc="desktop automation utility for Linux and X11"
|
2016-03-02 08:54:56 +00:00
|
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://code.google.com/archive/p/autokey/downloads"
|
|
|
|
distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-${version}.tar.gz"
|
|
|
|
checksum=7352c94ca984f1ba049f0b0d832abe47005cf65567904e5404c73e90358117e4
|
|
|
|
|
|
|
|
autokey-qt_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} kde-python python-notify python-PyQt4 python-PyQt4-dbus"
|
|
|
|
short_desc+=" - Qt frontend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/applications/autokey-qt.desktop
|
|
|
|
vmove usr/bin/autokey-qt
|
|
|
|
vmove usr/share/man/man1/autokey-qt.1
|
|
|
|
vmove usr/lib/python2.7/site-packages/autokey/qtui
|
|
|
|
vmove usr/lib/python2.7/site-packages/autokey/qtapp.py
|
|
|
|
vmove usr/share/kde4
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
autokey-gtk_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} python-dbus python-gobject zenity"
|
|
|
|
short_desc+=" - GTK+ frontend"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/applications/autokey-gtk.desktop
|
|
|
|
vmove usr/bin/autokey-gtk
|
|
|
|
vmove usr/share/man/man1/autokey-gtk.1
|
|
|
|
vmove usr/lib/python2.7/site-packages/autokey/gtkui
|
|
|
|
vmove usr/lib/python2.7/site-packages/autokey/gtkapp.py
|
|
|
|
}
|
|
|
|
}
|