summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df7c5abbb6b83ddcfbdc2c4c1f3ace1b1da9644f (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
# Maintainer: Benoit Pierre <benoit.pierre@gmail.com>

pkgname=plover
pkgdesc="Free and open source real-time stenography engine."
pkgver=3.1.1
pkgrel=3
arch=('any')
license=('GPL2')
depends=(
  'python2'
  'python2-appdirs'
  'python2-dbus'
  'python2-cython-hidapi'
  'python2-pyserial'
  'python2-setuptools'
  'python2-six'
  'python2-xlib'
  'wmctrl'
  'wxpython'
  'xorg-xprop'
)
makedepends=(
  'python2-mock'
  'python2-pytest'
  'python2-setuptools-scm'
)
provides=('plover')
conflicts=('plover-git')
url="http://www.openstenoproject.org/plover/"
source=(https://github.com/openstenoproject/plover/releases/download/v$pkgver/plover-$pkgver.tar.gz)
sha1sums=(e391a61f7c4082ae74042cb7415fef52c1cd4498)

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: