ruby version of build_source

Supports .xz orig tarballs.