archrelease: copy trunk to community-any
[ArchLinux/community.git] / cgal / trunk / PKGBUILD
blobd26596ee1a36202d564c2f6ed122736ad48338ac
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 # Contributor: Dmitriy Morozov <foxcub>
5 pkgname=cgal
6 pkgver=5.5.2
7 pkgrel=1
8 pkgdesc="Computational Geometry Algorithms Library"
9 arch=(any)
10 url="https://www.cgal.org"
11 license=(GPL LGPL)
12 depends=(boost eigen gmp mpfr)
13 makedepends=(cmake)
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')
18 build() {
19   cmake -B build -S CGAL-${pkgver} \
20     -DCMAKE_INSTALL_PREFIX=/usr
21   make -C build
24 package() {
25   make -C build DESTDIR="${pkgdir}" install
26   rm -r "${pkgdir}"/usr/share