mkdir -p ${INSTALL_ROOT}/opt/go &>/dev/null &&

for d in doc lib  src; do
  cp -r "${SOURCE_DIRECTORY}/${d}" "${INSTALL_ROOT}/opt/go/${d}"
done &&
cp -r "${SOURCE_DIRECTORY}/pkg" "${INSTALL_ROOT}/opt/go" &&

install -m755 -o root -g root ${SOURCE_DIRECTORY}/bin/* ${INSTALL_ROOT}/usr/bin/
