mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/pybind11 to 2.6.2-2
This commit is contained in:
parent
d6d22f7747
commit
7f315db53e
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue