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

Levente Polyak anthraxx at archlinux.org
Sun Mar 22 23:52:18 UTC 2020


    Date: Sunday, March 22, 2020 @ 23:52:17
  Author: anthraxx
Revision: 603635

upgpkg: catch2 2.11.3-1

Modified:
  catch2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 23:40:30 UTC (rev 603634)
+++ PKGBUILD	2020-03-22 23:52:17 UTC (rev 603635)
@@ -3,8 +3,8 @@
 # Contributor: Bart Verhagen <barrie.verhagen at gmail dot com>
 
 pkgname=catch2
-_gitcommit=d10b9bd02e098476670f5eb0527d2c7281476e8a
-pkgver=2.11.1
+_gitcommit=255aa5f2afe1a622c97422f65ace6ca915be0d8d
+pkgver=2.11.3
 pkgrel=1
 pkgdesc="Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD"
 arch=('any')
@@ -24,10 +24,10 @@
 }
 
 build() {
-  cd ${pkgname}
-
-  mkdir -p build
-  cd build
+  mkdir -p ${pkgname}/build
+  cd ${pkgname}/build
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
   cmake .. \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \



More information about the arch-commits mailing list