Use the makpkg '-p' to compile in a subdirectory. For ex: ../makepkg -g -p curie/PKGBUILD