endpoint to get logs checks if pkg already in db force build flag
prepare makepkg command execution to store output in db and stdout