1 # Maintainer: Christian Hesse <mail@eworm.de>
6 pkgdesc='Easy to use 2D geometry library in C++'
8 url='https://gitlab.com/inkscape/lib2geom'
10 depends=('glib2' 'gsl' 'double-conversion' 'cairo' 'ragel')
11 makedepends=('cmake' 'boost' 'gtest')
12 source=("https://gitlab.com/inkscape/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
13 sha256sums=('1c22a7be571d2e2f3ee98424614ffd6a42fe73dedbd2ccfb0967ecb02f77edeb')
16 cd "${srcdir}/${pkgname}-${pkgver}"
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -D2GEOM_BOOST_PYTHON=NO \
23 -D2GEOM_BUILD_SHARED=YES \
24 -DCMAKE_BUILD_TYPE=Release
29 cd "${srcdir}/${pkgname}-${pkgver}/build/"
35 cd "${srcdir}/${pkgname}-${pkgver}/build/"
37 make DESTDIR="${pkgdir}/" install