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' 'gtest')
11 makedepends=('cmake' 'boost')
12 source=("https://gitlab.com/inkscape/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
13 sha256sums=('543c643aa197630b04ca23aeaaa8436d68343232eb40bcc12e07379b5ba1f524')
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/"
31 make DESTDIR="${pkgdir}/" install