summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64c503d20c6d0b73b860d5e23b25298fa506f19d (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
# Maintainer: entshuld <edgar _ no _ openmail [d] cc>

pkgname=python-pyxel-fedic
_base=pyxel
pkgver=3.0.3.ga211380
pkgrel=1
pkgdesc="Python FE-DIC library"
arch=('any')
url="https://github.com/jcpassieux/pyxel"
license=('CeCILL')
depends=("python-numpy" "python-scipy" "python-matplotlib" "python-opencv" "python-scikit-image" "python-meshio" "gmsh")
optdepends=()
makedepends=('python-setuptools')
# provides=()
# conflicts=()
source=("git+https://github.com/jcpassieux/pyxel.git")
sha512sums=('SKIP')

pkgver() {
  cd "${srcdir}"/"${_base}"
  git describe --tags --match '*.*' | tr '-' '.' | sed 's-^v--'
}

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

package(){
  cd "${_base}"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}