[arch-commits] Commit in (4 files)
Christian Hesse
eworm at archlinux.org
Thu May 27 12:51:41 UTC 2021
Date: Thursday, May 27, 2021 @ 12:51:39
Author: eworm
Revision: 416525
initial commit, added as dependency for inkscape
Added:
lib2geom/
lib2geom/repos/
lib2geom/trunk/
lib2geom/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: lib2geom/trunk/PKGBUILD
===================================================================
--- lib2geom/trunk/PKGBUILD (rev 0)
+++ lib2geom/trunk/PKGBUILD 2021-05-27 12:51:39 UTC (rev 416525)
@@ -0,0 +1,32 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=lib2geom
+pkgver=1.1
+pkgrel=1
+pkgdesc='Easy to use 2D geometry library in C++'
+arch=('x86_64')
+url='https://gitlab.com/inkscape/lib2geom'
+license=('GPL')
+depends=('glib2' 'gsl' 'double-conversion' 'cairo' 'ragel' 'gtest')
+makedepends=('cmake' 'boost')
+source=("https://gitlab.com/inkscape/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('543c643aa197630b04ca23aeaaa8436d68343232eb40bcc12e07379b5ba1f524')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir -p build
+ cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -D2GEOM_BOOST_PYTHON=NO \
+ -D2GEOM_BUILD_SHARED=YES \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build/"
+
+ make DESTDIR="${pkgdir}/" install
+}
More information about the arch-commits
mailing list