blob: 0874212ddd86f11ef14fdef9fdf414e57579477d (
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
|
# Maintainer: Daniel Maslowski <info@orangecms.org>
_pyname=pslab-python
pkgname=python-pslab-git
pkgver=v2.0.1.r0.g78973c6
pkgrel=1
pkgdesc="Core library for PSlab desktop"
arch=('any')
url="https://pslab.io"
license=('GPL3')
depends=(
'python'
'python-setuptools'
'python-pyserial'
'python-numpy'
'python-scipy'
)
makedepends=('git')
provides=("$_pyname")
conflicts=(python-pslab)
options=(!emptydirs)
source=(git://github.com/fossasia/$_pyname.git)
sha512sums=('SKIP')
pkgver() {
cd "$srcdir/${_pyname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/${_pyname}"
python setup.py install --root="$pkgdir/" --optimize=1
install -Dm 644 99-pslab.rules "$pkgdir/usr/lib/udev/rules.d/99-pslab.rules"
}
# vim:set ts=2 sw=2 et:
|