Date: Friday, May 31, 2019 @ 21:39:46 Author: zorun Revision: 476126 archrelease: copy trunk to community-any
Added: catch2/repos/community-any/PKGBUILD (from rev 476125, catch2/trunk/PKGBUILD) Deleted: catch2/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-31 21:39:38 UTC (rev 476125) +++ PKGBUILD 2019-05-31 21:39:46 UTC (rev 476126) @@ -1,42 +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 -pkgver=2.7.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=('cmake' 'python') # python seems to be necessary for building tests (FS#60273) -source=("https://github.com/catchorg/Catch2/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('9f4116da13d8402b5145f95ab91ae0173cd27b804152d3bb2d4f9b6e64852af7') - -build() { - cd 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 Catch2-$pkgver/build - make test -} - -package() { - cd Catch2-$pkgver/build - make DESTDIR="$pkgdir" install -} - -# vim: ts=2 sw=2 et: Copied: catch2/repos/community-any/PKGBUILD (from rev 476125, catch2/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-31 21:39:46 UTC (rev 476126) @@ -0,0 +1,42 @@ +# 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 +pkgver=2.8.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=('cmake' 'python') # python seems to be necessary for building tests (FS#60273) +source=("https://github.com/catchorg/Catch2/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha256sums=('b567c37446cd22c8550bfeb7e2fe3f981b8f3ab8b2148499a522e7f61b8a481d') + +build() { + cd 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 Catch2-$pkgver/build + make test +} + +package() { + cd Catch2-$pkgver/build + make DESTDIR="$pkgdir" install +} + +# vim: ts=2 sw=2 et: