Does there exist a real continuous function $f(x)$ defined on $\mathbb{R}$ that satisfies:
$$\int_{-\infty}^{\infty} \lvert f(x)\lvert \ dx < \infty \tag 1 $$
$$\int_{-\infty}^{\infty} \lvert f(x)\lvert² \ dx = \infty \tag 2 $$
EDIT
Without the continuity assumption, this statisfies the conditions:
$f(x)=\frac{1}{\sqrt x}$ in $0