[arch-commits] Commit in catch2/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Jul 16 21:41:18 UTC 2020
Date: Thursday, July 16, 2020 @ 21:41:17
Author: anthraxx
Revision: 664223
archrelease: copy trunk to community-any
Added:
catch2/repos/community-any/PKGBUILD
(from rev 664222, catch2/trunk/PKGBUILD)
Deleted:
catch2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-16 21:41:13 UTC (rev 664222)
+++ PKGBUILD 2020-07-16 21:41:17 UTC (rev 664223)
@@ -1,51 +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=b1b5cb812277f367387844aab46eb2d3b15d03cd
-pkgver=2.12.2
-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}
- export CFLAGS+=" ${CPPFLAGS}"
- export CXXFLAGS+=" ${CPPFLAGS}"
- cmake -B build \
- -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 -C build
-}
-
-check() {
- cd ${pkgname}
- make -C build test
-}
-
-package() {
- cd ${pkgname}
- make -C build DESTDIR="$pkgdir" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: catch2/repos/community-any/PKGBUILD (from rev 664222, catch2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-16 21:41:17 UTC (rev 664223)
@@ -0,0 +1,51 @@
+# 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=7f21cc6c5599f59835f769debf13b4c3e6148a28
+pkgver=2.13.0
+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")
+sha512sums=('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}
+ export CFLAGS+=" ${CPPFLAGS}"
+ export CXXFLAGS+=" ${CPPFLAGS}"
+ cmake -B build \
+ -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 -C build
+}
+
+check() {
+ cd ${pkgname}
+ make -C build test
+}
+
+package() {
+ cd ${pkgname}
+ make -C build DESTDIR="$pkgdir" install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list