summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1893d2cd1ecff7837d919a79e7b5e24ad9c6134a (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
# Maintainer: Victor Roest <victor@xirion.net>
_name=matrx
pkgname=python-matrx-git
pkgver=v2.0.5.r0.g957ca9e
pkgrel=1
pkgdesc='A Python package for the rapid development and evaluation of human-agent teaming concepts.'
arch=('x86_64')
url='https://www.matrx-software.com/'
license=('MIT')
depends=('python-flask' 'python-jsonpickle' 'python-flask-socketio' 'python-numpy' 'python-requests' 'python-colour' 'python-gevent' 'python-flask-cors' 'python-docutils' 'python-pygments')
source=("git+https://github.com/matrx-software/${_name}.git")
sha512sums=('SKIP')

build() {
    cd "$_name"
    python setup.py build
}

package() {
    cd "$_name"
    export PYTHONHASHSEED=0
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

pkgver() {
  cd "$_name"
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}