[arch-commits] Commit in catch2/repos/community-any (PKGBUILD PKGBUILD)
Baptiste Jonglez
zorun at archlinux.org
Tue Jul 31 08:53:25 UTC 2018
Date: Tuesday, July 31, 2018 @ 08:53:25
Author: zorun
Revision: 365077
archrelease: copy trunk to community-any
Added:
catch2/repos/community-any/PKGBUILD
(from rev 365076, catch2/trunk/PKGBUILD)
Deleted:
catch2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-31 08:53:10 UTC (rev 365076)
+++ PKGBUILD 2018-07-31 08:53:25 UTC (rev 365077)
@@ -1,38 +0,0 @@
-# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
-# Contributor: Bart Verhagen <barrie.verhagen at gmail dot com>
-pkgname='catch2'
-pkgver=2.2.3
-pkgrel=1
-pkgdesc="A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later"
-arch=('any')
-url="https://github.com/catchorg/catch2"
-license=('Boost')
-makedepends=("cmake")
-source=("https://github.com/catchorg/Catch2/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('45e5e12cc5a98e098b0960d70c0d99b7168b711e85fb947dcd4d68ec3f8b8826')
-
-build() {
- cd "$srcdir/Catch2-$pkgver"
-
- 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 "$srcdir/Catch2-$pkgver"
- build/SelfTest
-}
-
-package() {
- cd "$srcdir/Catch2-$pkgver/build"
- make DESTDIR="$pkgdir" install
-}
Copied: catch2/repos/community-any/PKGBUILD (from rev 365076, catch2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-31 08:53:25 UTC (rev 365077)
@@ -0,0 +1,39 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Bart Verhagen <barrie.verhagen at gmail dot com>
+pkgname='catch2'
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later"
+arch=('any')
+url="https://github.com/catchorg/catch2"
+license=('Boost')
+makedepends=('cmake')
+checkdepends=('python')
+source=("https://github.com/catchorg/Catch2/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('aaf6bbf81ce8522131bae2ea4d013a77b003bbb2017614f5872d5787687f8f5f')
+
+build() {
+ cd "$srcdir/Catch2-$pkgver"
+
+ 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 "$srcdir/Catch2-$pkgver/build"
+ make test
+}
+
+package() {
+ cd "$srcdir/Catch2-$pkgver/build"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list