leatherman: fix vendor include for catch

This commit is contained in:
Đoàn Trần Công Danh 2022-11-25 13:51:31 +07:00
parent 4380da59b6
commit c68be094a4
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,7 @@
pkgname=leatherman
version=1.12.4
revision=3
revision=4
build_style=cmake
configure_args="-DLEATHERMAN_SHARED=ON"
hostmakedepends="pkg-config python3"
@ -27,6 +28,12 @@ do_check() {
ctest -V
}
post_install() {
cat <<-'EOF' >"${DESTDIR}/usr/lib/cmake/leatherman/catch.cmake"
add_leatherman_includes("${LEATHERMAN_PREFIX}/include/leatherman/vendor")
EOF
}
leatherman-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"