From c68be094a425c8d1536e3148381cdb4915580438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 25 Nov 2022 13:51:31 +0700 Subject: [PATCH] leatherman: fix vendor include for catch --- srcpkgs/leatherman/template | 7 +++++++ 1 file changed, 7 insertions(+) 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}"