[arch-commits] Commit in geos/trunk (PKGBUILD geos.changelog)

Bruno Pagani archange at gemini.archlinux.org
Mon Jun 27 14:05:45 UTC 2022


    Date: Monday, June 27, 2022 @ 14:05:45
  Author: archange
Revision: 1239691

upgpkg: geos 3.10.3-1

Modified:
  geos/trunk/PKGBUILD
  geos/trunk/geos.changelog

----------------+
 PKGBUILD       |   34 ++++++++++++++++------------------
 geos.changelog |    3 +++
 2 files changed, 19 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-27 14:01:21 UTC (rev 1239690)
+++ PKGBUILD	2022-06-27 14:05:45 UTC (rev 1239691)
@@ -1,36 +1,34 @@
 # Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
 # Contributor: William Rea <sillywilly at gmail.com>
 # Contributor: Alexander Rødseth <rodseth at gmail.com>
 
 pkgname=geos
-pkgver=3.9.1
+pkgver=3.10.3
 pkgrel=1
-pkgdesc="C++ port of the Java Topology Suite"
-arch=('x86_64')
-url="https://trac.osgeo.org/geos/"
-license=('LGPL')
-depends=('gcc-libs' 'bash')
-options=('!emptydirs')
+pkgdesc="C/C++ library for computational geometry"
+arch=(x86_64)
+url="https://libgeos.org/"
+license=(LGPL)
+depends=(gcc-libs bash)
+makedepends=(cmake)
+options=(!emptydirs)
 changelog=$pkgname.changelog
 source=(https://download.osgeo.org/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha256sums=('7e630507dcac9dc07565d249a26f06a15c9f5b0c52dd29129a0e3d381d7e382a')
+sha256sums=('3c141b07d61958a758345d5f54e3c735834b2f4303edb9f67fb26914f0d44770')
 
 build() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  ./configure --prefix=/usr
-  make
+  cmake -B build -S $pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_DOCUMENTATION=OFF
+  make -C build
 }
 
 check() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  make check
+  ctest --test-dir build --verbose
 }
 
 package() {
-  cd "${srcdir}"/$pkgname-$pkgver
-
-  make DESTDIR="${pkgdir}" install
+  make -C build DESTDIR="${pkgdir}" install
 }

Modified: geos.changelog
===================================================================
--- geos.changelog	2022-06-27 14:01:21 UTC (rev 1239690)
+++ geos.changelog	2022-06-27 14:05:45 UTC (rev 1239691)
@@ -1,3 +1,6 @@
+2022-06-27 Bruno Pagani <archange at archlinux.org
+	* geos 3.10.3-1
+
 2021-04-05 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* geos 3.9.1-1
 



More information about the arch-commits mailing list