Let $\tilde S \overset{\nu}{\to} S$ be the normalization of a projective surface $S$ over a field $k$. Assume for now that $S$ is obtained from $\tilde S$ by gluing together two disjoint curves $C_1$ and $C_2$ in $\tilde S$. Let $\sigma_1, \sigma_2 : C \to \tilde S$ be parametrizations of $C_1$ and $C_2$ used for this gluing (e.g. one can take $C = \nu(C_1)=\nu(C_2)$).
If a line bundle $\mathcal{L}$ on $\tilde S$ is the pullback of a line bundle $L$ on $S$ then we get an isomorphism $\alpha: \sigma_1^* \mathcal{L} \to \sigma_2^* \mathcal{L}$, here $\alpha$ is essentially the gluing data on $\mathcal{L}$ to get $L$. More specifically, we use that $\nu \circ \sigma_1 = \nu \circ \sigma_2$ as well as $\mathcal{L} = \nu^* L$ to get the canonical isomorphism $\alpha$.
How about the reverse, given a pair $(\mathcal{L},\alpha)$ as before, can ve reconstruct a line bundle on $S$ corresponding to this pair?
I suspect this could be done as follows. One could define the kernel $L$ of the following exact sequence $0 \to L \to \nu_* \mathcal{L} \overset{s}{\to} \sigma_2^* \mathcal{L} \to 0$ where the latter map is defined as $s(u) = \sigma_2^*(u) - \alpha(\sigma_1^*(u))$. However, I have a hard time proving that $L$ is a line bundle.
Is there an easy way to see that $L$ defined in this way is a line bundle?
Generalizations to more complicated normalizations are welcome!