Since $f$ is integrable on $(0,\infty)$ we have that the function $F(x) = \int_{x}^\infty f(t) dt$ is well defined. Moreover, $\lim_{x\to\infty} F(x) = 0$.
Now let $\epsilon > 0$ and by uniform continuity take $\delta > 0$ to be such that $|f(x) - f(y)| < \epsilon$ when $|x-y| < \delta$.
Now consider $F(x) - F(x + \delta/2) = \int_{x}^{x+\delta/2} f(t) dt = \delta/2 f(\xi_x)$ for some $\xi_x \in [x, x+\delta/2]$ by the mean value theorem for integrals. In particular $|f(\xi_x) - f(x)| < \epsilon$ for all $x$.
Now $F(x + \delta/2) - F(x) \to 0$ as $x \to \infty$, since $F(x) \to 0$. This means $f(\xi_x) \to 0$ as $x \to \infty$. Which means that $f(x)$ is inside $B_\epsilon(0)$ for sufficiently large $x$. Since $\epsilon$ was arbitrary, this means $f(x) \to 0$ as $x\to \infty$.