summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f855f6f0246307c9eae5ccc57ddc5be036fb8b4e (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
pkgname=mmg3d
pkgver=5.3.11
pkgrel=1
pkgdesc='Anisotropic tetrahedral remesher and moving mesh generator'
url="http://www.mmgtools.org/"
license=('GPL')
arch=('i686' 'x86_64')
makedepends=('cmake')
source=("https://github.com/MmgTools/mmg/archive/v$pkgver.tar.gz")
sha256sums=('ea7332230f88bd26239d1636944a970cd2aa98b017052215a54201f125e53b9f')

build () {
  cd "mmg-$pkgver"

  cmake \
    -DCMAKE_INSTALL_PREFIX="$pkgdir"/usr \
    -DLIBMMG2D_SHARED=ON \
    -DLIBMMG3D_SHARED=ON \
    -DLIBMMGS_SHARED=ON \
    -DLIBMMG_SHARED=ON

  make
}

package() {
  cd "mmg-$pkgver"

  make install
}

# vim: ts=2 sw=2 et