[pacman-dev] [PATCH] makepkg: implement dir_is_empty for dir content checks