blob: 79410f2028028d169292614d3cc5eac90d62d86a (
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
|
# Maintainer: lis
# Contributor: mis
# Contributor: oslik
pkgname=solvespace
pkgver=3.1
pkgrel=1
pkgdesc="A parametric 3d CAD program"
arch=('i686' 'x86_64')
url='http://solvespace.com/'
license=('GPL3')
depends=('json-c' 'glew' 'gtkmm3' 'libspnav')
makedepends=('git' 'cmake' 'eigen')
source=("${pkgname}::git+https://github.com/${pkgname}/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')
prepare() {
cd "${srcdir}/${pkgname}"
git submodule update --init extlib/{libdxfrw,mimalloc}
mkdir build
}
build() {
cd "${srcdir}/${pkgname}/build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib/${pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_OPENMP=ON
make
}
package() {
cd "${srcdir}/${pkgname}/build"
make DESTDIR="${pkgdir}" install
}
|