# Maintainer: Benoit Pierre pkgname=plover pkgdesc="Free and open source real-time stenography engine." pkgver=3.0.0 pkgrel=3 arch=('any') license=('GPL2') depends=( 'python2' 'python2-appdirs' 'python2-hidapi' 'python2-notify' 'python2-pyserial' 'python2-setuptools' 'python2-simplejson' 'python2-xlib' 'wmctrl' 'wxpython' ) makedepends=( 'python2-mock' 'python2-pytest' 'python2-pytest-runner' ) provides=('plover') conflicts=('plover-git') url="http://www.openstenoproject.org/plover/" source=( "https://github.com/openstenoproject/plover/archive/v$pkgver.tar.gz" fix_wx_pynotify_crash.patch ) sha1sums=( 89ca6af3fe002be218158930d105d25c1e1282be b455b23628f0cc3b1bc290a3f55df901fbad8fc1 ) prepare() { cd "$pkgname-$pkgver" patch -Np1 -i ../fix_wx_pynotify_crash.patch } check() { cd "$pkgname-$pkgver" python2 setup.py test } package() { cd "$pkgname-$pkgver" python2 setup.py install --root="$pkgdir" chmod og+rX -R "$pkgdir" } # vim:set sw=2 sts=2 et: