[arch-commits] Commit in lib2geom/trunk (PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Tue Aug 9 05:58:57 UTC 2022


    Date: Tuesday, August 9, 2022 @ 05:58:56
  Author: eworm
Revision: 452438

upgpkg: lib2geom 1.2-2: make gtest a make dependency, run tests (FS#75390)

Modified:
  lib2geom/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-08 23:13:38 UTC (rev 452437)
+++ PKGBUILD	2022-08-09 05:58:56 UTC (rev 452438)
@@ -2,13 +2,13 @@
 
 pkgname=lib2geom
 pkgver=1.2
-pkgrel=1
+pkgrel=2
 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')
+depends=('glib2' 'gsl' 'double-conversion' 'cairo' 'ragel')
+makedepends=('cmake' 'boost' 'gtest')
 source=("https://gitlab.com/inkscape/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
 sha256sums=('c32e384831b62af33c42eca65fa205b223c5da14e07602dc005ccf7e1c3cb1b1')
 
@@ -25,6 +25,12 @@
   make
 }
 
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}/build/"
+
+  make test
+}
+
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}/build/"
 



More information about the arch-commits mailing list