PKGBUILD for arch linux ABS - shared libraries not being installed (?)

I'm trying to put together a PKGBUILD for arch linux.

I adapted the opencog-bzr ABS PKGBUILD for arch linux to building from this github repo. Had to remove a few lines from CMakeLists.txt files in order to run ```make install``` successfully. However I think some of built libraries are not being installed with ```make install```.

The bzr PKGBUILD was last updated in 2011 and I'm also unsure if this is still an appropriate way of building opencog. The adapted PKGBUILD is here https://github.com/sveitser/pkgbuilds/blob/master/opencog-git/PKGBUILD

Output of the ```makepkg``` command is here https://gist.github.com/sveitser/3e4c890859ba18a13661 .

After installing the built package and running cogserver I get
```
cogserver: error while loading shared libraries: libserver.so: cannot open shared object file: No such file or directory
```
The ```libserver.so``` file is built at ```build/opencog/server/libserver.so``` but not istalled during the make install step.