[arch-commits] Commit in lib2geom/repos (extra-x86_64 extra-x86_64/PKGBUILD)
Christian Hesse
eworm at archlinux.org
Thu May 27 12:51:52 UTC 2021
Date: Thursday, May 27, 2021 @ 12:51:51
Author: eworm
Revision: 416526
archrelease: copy trunk to extra-x86_64
Added:
lib2geom/repos/extra-x86_64/
lib2geom/repos/extra-x86_64/PKGBUILD
(from rev 416525, lib2geom/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: lib2geom/repos/extra-x86_64/PKGBUILD (from rev 416525, lib2geom/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2021-05-27 12:51:51 UTC (rev 416526)
@@ -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