1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 # Contributor: Dmitriy Morozov <foxcub>
8 pkgdesc="Computational Geometry Algorithms Library"
10 url="https://www.cgal.org"
12 depends=(boost eigen gmp mpfr)
14 source=(https://github.com/CGAL/cgal/releases/download/v${pkgver}/CGAL-${pkgver}.tar.xz)
15 # https://github.com/CGAL/cgal/releases/download/v${pkgver}/sha256sum.txt
16 sha256sums=('b2b05d5616ecc69facdc24417cce0b04fb4321491d107db45103add520e3d8c3')
19 cmake -B build -S CGAL-${pkgver} \
20 -DCMAKE_INSTALL_PREFIX=/usr
25 make -C build DESTDIR="${pkgdir}" install
26 rm -r "${pkgdir}"/usr/share