From 7f315db53eed71290e32a5c539d55f79cff70293 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 17 Apr 2021 19:29:41 +0000 Subject: [PATCH] community/pybind11 to 2.6.2-2 --- community/pybind11/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/community/pybind11/PKGBUILD b/community/pybind11/PKGBUILD index 60c0daeae..43949014a 100644 --- a/community/pybind11/PKGBUILD +++ b/community/pybind11/PKGBUILD @@ -7,7 +7,7 @@ pkgname=pybind11 pkgver=2.6.2 -pkgrel=1 +pkgrel=2 pkgdesc='A lightweight header-only library that exposes C++ types in Python and vice versa' arch=('any') url='https://pybind11.readthedocs.org/' @@ -48,9 +48,9 @@ package() { # symlinks local _pyver _pyver="$(python -c 'import sys; print("%s.%s" %sys.version_info[0:2])')" - mkdir -p "${pkgdir}/usr"/{include,share/cmake} + mkdir -p "${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/share/cmake/pybind11" + ln -s "../../lib/python${_pyver}/site-packages/pybind11/share/cmake/pybind11" "${pkgdir}/usr/lib/cmake/pybind11" # man page # install -D -m644 "docs/.build/man/${pkgname}.1" "${pkgdir}/usr/share/man/man7/${pkgname}.7"