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.