blob: 4f5dadaf87446fdc84ac08fbbcd15e08a9ea0625 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Benoit Pierre <benoit.pierre@gmail.com>
pkgname=plover-git
pkgdesc="Free and open source real-time stenography engine."
pkgver=4.0.0.dev0.44.gdcf0425
pkgrel=2
arch=('any')
license=('GPLv2 or any later version')
depends=(
'python2'
'python2-appdirs'
'python2-dbus'
'python2-hidapi'
'python2-pyqt5'
'python2-pyserial'
'python2-setuptools'
'python2-six'
'python2-xlib'
'wmctrl'
)
makedepends=(
'git'
'python2-babel'
'python2-mock'
'python2-pytest'
'python2-setuptools-scm'
)
provides=('plover')
conflicts=('plover-git')
url="http://www.openstenoproject.org/plover/"
source=($pkgname::git+https://github.com/openstenoproject/plover.git)
sha1sums=(SKIP)
pkgver() {
cd "$pkgname"
python2 setup.py patch_version | sed -n '/^patching version to /{s///;s/+/./;p;Q0};${Q1}'
}
build() {
cd "$pkgname"
PYTHONPATH="$(echo -n .eggs/pyqt_distutils-*.egg)" python2 setup.py build
}
check() {
cd "$pkgname"
python2 setup.py test
}
package() {
cd "$pkgname"
python2 setup.py install --root="$pkgdir"
chmod og+rX -R "$pkgdir"
}
# vim:set sw=2 sts=2 et:
|