Just updating the pkgbuild script to actually build the shared library

as well as the static library.
Instead better to patch Makefile.am/.in and add -no-undefined to LDFLAGS library