We consider the one-dimensional system of shallow-water equations with horizontal temperature gradients (the Ripa system). We derive a HLLC scheme for Ripa system which falls into the theory of path-conservative approximate Riemann solvers. The resulting scheme is robust, easy to implement, well-balanced, positivity preserving and entropy dissipative for the case of flat or continuous bottom.