lv2-ui: remove build-specific files from destdir

This commit is contained in:
davehome 2011-10-28 11:54:33 +00:00
parent 835b5624bf
commit cf4db16a43

View file

@ -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}*
}