From cf4db16a43d853daeaf5b787f0759493a7536950 Mon Sep 17 00:00:00 2001 From: davehome Date: Fri, 28 Oct 2011 11:54:33 +0000 Subject: [PATCH] lv2-ui: remove build-specific files from destdir --- srcpkgs/lv2-ui/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}* }