blob: 2d34f9ba85d5d7e68644188d101491d65d909ad1 (
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
|
# Maintainer: Martin Drawitsch <martin dot drawitsch at gmail dot com>
pkgname=('ezc3d')
pkgver='1.3.3'
pkgrel=1
pkgdesc="An easy to use reader, modifier and writer for C3D format files. Includes Python bindings"
url="https://github.com/pyomeca/ezc3d"
depends=('python')
makedepends=('python' 'swig' 'cmake')
license=('MIT')
arch=('x86_64')
source=("https://github.com/pyomeca/ezc3d/archive/Release_${pkgver}.tar.gz")
sha256sums=('15e3381a8622811da9ac7ae44207a8cbf45261c588ba09d9fdabbdb6e4e9032c')
build() {
cd ${srcdir}/ezc3d-Release_${pkgver}
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_EXAMPLE=OFF \
-DBINDER_MATLAB=OFF \
-DPython3_EXECUTABLE=/usr/bin/python \
-DBINDER_PYTHON3=ON
make
}
package() {
cd ${srcdir}/ezc3d-Release_${pkgver}/build
make DESTDIR=${pkgdir} install
}
|