diff --git a/srcpkgs/leatherman/template b/srcpkgs/leatherman/template index f171f3e247b..a2813bd4a92 100644 --- a/srcpkgs/leatherman/template +++ b/srcpkgs/leatherman/template @@ -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}"