1 2 3 4 5 6 7
# remove valgrind from makedepends - otherwise libdrm claims to depend on it makedepends=( $( printf '%s\n' "${makedepends[@]}" | \ grep -vxF 'valgrind' ) )