diff --git a/srcpkgs/lv2-ui/template b/srcpkgs/lv2-ui/template index 5efd7b8daac..33eae740a1c 100644 --- a/srcpkgs/lv2-ui/template +++ b/srcpkgs/lv2-ui/template @@ -31,6 +31,6 @@ post_install() cd "${DESTDIR}/usr/include/lv2/${_ns%/*}" && \ ln -s "../../../../../lib/lv2/$_name.lv2" "$_name" - rm $(find ${DESTDIR} | grep "\.xbps" | xargs) - rm $(find ${DESTDIR} | grep "wafbuild" | xargs) + # Clean up build-specific files glob-copied by waf install target + cd "$DESTDIR/usr/lib/lv2/$_name.lv2" && rm {.xbps_,.lock-wafbuild}* }