updated packaging and build
fixed no return value
use pkgconfig everywhere
opensuse package build
use pkgconfig everywhere