I have fixed this (for now) using two patches.
soci.patch: Changes the cmake configuration to find system soci libraries. rstudio_boost: They forgot to use boost::; they instead used rstudio_boost::.
Added soci to depends. NOTE: soci is only on the AUR. 1) You need to have boost installed BEFORE installing soci. 2) You may need to modify the soci PKGBUILD to have:
cmake \
-DSOCI_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DBoost_NO_BOOST_CMAKE=ON \
"${srcdir}/${pkgname}-${pkgver}"
Note the -DBoost_NO_BOOST_CMAKE=ON; it would not compile for me without that.
Pinned Comments
artemklevtsov commented on 2020-04-10 02:30
I created repo on GitLab to automate weekly builds. PRs are welcome.
Repo entry for the
pacman.conf
:Packages:
Source code: https://gitlab.com/aur1/rstudio