blob: 1b283ccc1531732ceb17c0ac34cc0c89d284a56f (
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
|
pkgname=openvolumemesh
pkgver=3.3.1
pkgrel=1
pkgdesc="A generic C++ data structure for arbitrary polyhedral meshes"
arch=('x86_64')
url="http://www.openvolumemesh.org"
license=('LGPL')
depends=('gcc-libs')
makedepends=('cmake')
source=("git+https://gitlab.vci.rwth-aachen.de:9000/OpenVolumeMesh/OpenVolumeMesh.git#tag=v${pkgver}")
sha1sums=('SKIP')
build() {
cd "${srcdir}/OpenVolumeMesh"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON \
-DOVM_ENABLE_APPLICATIONS=OFF \
-DOVM_ENABLE_UNITTESTS=OFF \
-DOVM_ENABLE_EXAMPLES=OFF \
-DOVM_BUILD_DOCUMENTATION=OFF \
.
make
}
package() {
cd "${srcdir}"/OpenVolumeMesh
make DESTDIR="${pkgdir}" install
}
|