From c6de8d06f004e1c7a94bb7b8b2aafd99f8ead071 Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sat, 28 Sep 2024 16:27:02 -0700 Subject: [PATCH] Use a better method to remove extranious files --- media-sound/looper/looper-9999.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media-sound/looper/looper-9999.ebuild b/media-sound/looper/looper-9999.ebuild index 4fcabf9..5de3f34 100644 --- a/media-sound/looper/looper-9999.ebuild +++ b/media-sound/looper/looper-9999.ebuild @@ -130,9 +130,9 @@ src_configure() { # you only need to call it, if you need different behaviour. src_install() { cmake_src_install - rm -r "${D}/usr/include" - rm -r "${D}/usr/lib/cmake" - rm -r "${D}/usr/lib/pkgconfig" + for i in "${D}/usr/"{include,lib{,64}/{cmake,pkgconfig}}; do + [ -e "$i" ] && rm -r "$i" + done # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and # understanding the install part of the Makefiles.