Date: Sunday, July 18, 2021 @ 20:44:08 Author: dbermond Revision: 978520
upgpkg: pybind11 2.7.0-1 Modified: pybind11/trunk/PKGBUILD ----------+ PKGBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-07-18 20:11:01 UTC (rev 978519) +++ PKGBUILD 2021-07-18 20:44:08 UTC (rev 978520) @@ -3,8 +3,8 @@ # Contributor: Matthew Ellison <matt+...@arroyonetworks.com> pkgname=pybind11 -pkgver=2.6.2 -pkgrel=2 +pkgver=2.7.0 +pkgrel=1 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/' @@ -14,7 +14,7 @@ #'python-sphinx' 'python-sphinx_rtd_theme' 'python-breathe') checkdepends=('python-numpy' 'python-scipy') source=("https://github.com/pybind/pybind11/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('8ff2fff22df038f5cd02cea8af56622bc67f5b64534f1b83b9f133b8366acff2') +sha256sums=('6cd73b3d0bf3daf415b5f9b87ca8817cc2e2b64c275d65f9500250f9fee1677e') build () { cd "${pkgname}-${pkgver}" @@ -29,7 +29,7 @@ -Wno-dev make -C "${srcdir}/build-cmake" all mock_install - # manpage (needs python-sphinxcontrib-svg2pdfconverter - currently on AUR) + # manpage (needs python-sphinxcontrib-{moderncmakedomain,svg2pdfconverter}) # make -C "${srcdir}/${pkgname}-${pkgver}/docs" man } @@ -44,7 +44,7 @@ # symlinks local _pyver _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')" - mkdir -p "${pkgdir}/usr"/{include,lib/cmake} + install -d -m755 "${pkgdir}/usr"/{include,lib/cmake} ln -s "../lib/python${_pyver}/site-packages/pybind11/include/pybind11" "${pkgdir}/usr/include/pybind11" ln -s "../../lib/python${_pyver}/site-packages/pybind11/share/cmake/pybind11" "${pkgdir}/usr/lib/cmake/pybind11"