[arch-commits] Commit in catch2/repos/community-any (PKGBUILD PKGBUILD)

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


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

archrelease: copy trunk to community-any

Added:
  catch2/repos/community-any/PKGBUILD
    (from rev 603635, catch2/trunk/PKGBUILD)
Deleted:
  catch2/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-22 23:52:17 UTC (rev 603635)
+++ PKGBUILD	2020-03-22 23:52:23 UTC (rev 603636)
@@ -1,52 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bart Verhagen <barrie.verhagen at gmail dot com>
-
-pkgname=catch2
-_gitcommit=d10b9bd02e098476670f5eb0527d2c7281476e8a
-pkgver=2.11.1
-pkgrel=1
-pkgdesc="Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD"
-arch=('any')
-url="https://github.com/catchorg/catch2"
-license=('Boost')
-makedepends=('git' 'cmake' 'python') # python seems to be necessary for building tests (FS#60273)
-source=(${pkgname}::"git+https://github.com/catchorg/Catch2#commit=${_gitcommit}?signed")
-sha256sums=('SKIP')
-validpgpkeys=(
-  E29C46F3B8A7502860793B7DECC9C20E314B2360 # Martin Hořeňovský
-  81E70B717FFB27AFDB45F52090BBFF120F9C087B # Jozef Grajciar
-)
-
-pkgver() {
-  cd ${pkgname}
-  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
-}
-
-build() {
-  cd ${pkgname}
-
-  mkdir -p build
-  cd build
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=lib \
-    -DCATCH_USE_VALGRIND=OFF \
-    -DCATCH_BUILD_EXAMPLES=OFF \
-    -DCATCH_ENABLE_COVERAGE=OFF \
-    -DCATCH_ENABLE_WERROR=OFF \
-    -DBUILD_TESTING=ON
-  make
-}
-
-check() {
-  cd ${pkgname}/build
-  make test
-}
-
-package() {
-  cd ${pkgname}/build
-  make DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:

Copied: catch2/repos/community-any/PKGBUILD (from rev 603635, catch2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-22 23:52:23 UTC (rev 603636)
@@ -0,0 +1,52 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bart Verhagen <barrie.verhagen at gmail dot com>
+
+pkgname=catch2
+_gitcommit=255aa5f2afe1a622c97422f65ace6ca915be0d8d
+pkgver=2.11.3
+pkgrel=1
+pkgdesc="Modern, C++-native, header-only, test framework for unit-tests, TDD and BDD"
+arch=('any')
+url="https://github.com/catchorg/catch2"
+license=('Boost')
+makedepends=('git' 'cmake' 'python') # python seems to be necessary for building tests (FS#60273)
+source=(${pkgname}::"git+https://github.com/catchorg/Catch2#commit=${_gitcommit}?signed")
+sha256sums=('SKIP')
+validpgpkeys=(
+  E29C46F3B8A7502860793B7DECC9C20E314B2360 # Martin Hořeňovský
+  81E70B717FFB27AFDB45F52090BBFF120F9C087B # Jozef Grajciar
+)
+
+pkgver() {
+  cd ${pkgname}
+  git describe --tags --match 'v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+  mkdir -p ${pkgname}/build
+  cd ${pkgname}/build
+  export CFLAGS+=" ${CPPFLAGS}"
+  export CXXFLAGS+=" ${CPPFLAGS}"
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DCATCH_USE_VALGRIND=OFF \
+    -DCATCH_BUILD_EXAMPLES=OFF \
+    -DCATCH_ENABLE_COVERAGE=OFF \
+    -DCATCH_ENABLE_WERROR=OFF \
+    -DBUILD_TESTING=ON
+  make
+}
+
+check() {
+  cd ${pkgname}/build
+  make test
+}
+
+package() {
+  cd ${pkgname}/build
+  make DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list