base: separates build and install phase