blob: 884670cecd6771cea7c6fd828624b44e1b4bb2c2 (
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
|
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
pkgname=python-pymatic-git
pkgver=74e32d9
pkgrel=1
pkgdesc='Python library for automating GUI applications (alpha version)'
arch=('x86_64' 'i686')
url='http://github.com/xyproto/pymatic'
license=('GPL2')
depends=('python' 'xautomation' 'xorg-server-xvfb' 'zenity' 'scrot' 'gocr')
source=('pymatic::git://github.com/xyproto/pymatic.git')
md5sums=('SKIP')
pkgver() {
cd pymatic
git describe --always | sed 's|-|.|g'
}
check() {
cd pymatic
python setup.py test
}
check() {
cd pymatic
python setup.py build
}
package() {
cd pymatic
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/LICENSE"
install -Dm644 examples/main.py "$pkgdir/usr/share/doc/pymatic/main.py"
}
# vim:set ts=2 sw=2 et:
|