archrelease: copy trunk to extra-x86_64
[arch-packages.git] / lib2geom / trunk / PKGBUILD
blobee38cfa892f69115892e808da88575d8f3315bf6
1 # Maintainer: Christian Hesse <mail@eworm.de>
3 pkgname=lib2geom
4 pkgver=1.1
5 pkgrel=2
6 pkgdesc='Easy to use 2D geometry library in C++'
7 arch=('x86_64')
8 url='https://gitlab.com/inkscape/lib2geom'
9 license=('GPL')
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')
15 build() {
16   cd "${srcdir}/${pkgname}-${pkgver}"
18   mkdir -p build
19   cd build
20   cmake .. \
21     -DCMAKE_INSTALL_PREFIX=/usr \
22     -D2GEOM_BOOST_PYTHON=NO \
23     -D2GEOM_BUILD_SHARED=YES \
24     -DCMAKE_BUILD_TYPE=Release
25   make
28 package() {
29   cd "${srcdir}/${pkgname}-${pkgver}/build/"
31   make DESTDIR="${pkgdir}/" install