trompeloeil 49-2

This commit is contained in:
2025-09-21 20:59:35 +03:00
parent ee2a9daac2
commit ef8db62de8

View File

@@ -1,19 +1,25 @@
name='trompeloeil' name='trompeloeil'
version='49' version='49'
release='1' release='2'
desc='Thread-safe header-only mocking framework for C++11/14.' desc='Thread-safe header-only mocking framework for C++11/14'
desc_ru='Потокобезопасный фреймворк для мокирования C++11/14 только из заголовочных файлов'
homepage='https://github.com/rollbear/trompeloeil' homepage='https://github.com/rollbear/trompeloeil'
maintainer="Евгений Храмов <xpamych@yandex.ru>" maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('amd64') architectures=('amd64')
license=('BSL-1.0') license=('BSL-1.0')
provides=('catch2') provides=('trompeloeil')
conflicts=('catch2', 'catch2-devel') conflicts=('trompeloeil')
build_deps=( build_deps=('cmake' 'catch2' 'ninja')
'cmake' build_deps_alt=('cmake' 'catch2' 'ninja-build')
'catch2' build_deps_arch=('cmake' 'catch2' 'ninja')
'ninja-build' build_deps_debian=('cmake' 'catch2' 'ninja-build')
) build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps_fedora[@]}")
build_deps_rhel=("${build_deps_fedora[@]}")
build_deps_rosa=("${build_deps_fedora[@]}")
build_deps_alpine=('cmake' 'catch2' 'ninja')
sources=("https://github.com/rollbear/trompeloeil/archive/v${version}.tar.gz") sources=("https://github.com/rollbear/trompeloeil/archive/v${version}.tar.gz")
checksums=('SKIP') checksums=('SKIP')
@@ -43,3 +49,7 @@ package() {
DESTDIR="${pkgdir}" cmake --install build DESTDIR="${pkgdir}" cmake --install build
install -Dm644 "${srcdir}/${name}-${version}/LICENSE_1_0.txt" "${pkgdir}/usr/share/licenses/${name}/LICENSE" install -Dm644 "${srcdir}/${name}-${version}/LICENSE_1_0.txt" "${pkgdir}/usr/share/licenses/${name}/LICENSE"
} }
files() {
files-find-include
files-find-share
}