🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829
pkgname: pybind11
pkgver: '3.1.0'
pkgrel: '1'
pkgdesc: 'Seamless operability between C++11 and Python (header-only, CMake config)'
url: 'https://github.com/pybind/pybind11'
arch: x86_64
license:
- BSD-3-Clause
# Header-only: potrzebny TYLKO na czas budowy Calamaresa (-DWITH_PYBIND11=ON).
depends: []
makedepends:
- cmake
- ninja
- python
source:
- 'https://github.com/pybind/pybind11/archive/refs/tags/v${pkgver}.tar.gz'
sha256sums:
- ef712655692a2e9bf7bb7874c022564a45f91d847ddee987e720cd9e28849665
build: |
cd pybind11-${pkgver}
cmake -S . -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DPYBIND11_TEST=OFF \
-DPYBIND11_INSTALL=ON
cmake --build build
package: |
cd pybind11-${pkgver}
DESTDIR=${PKGDIR} cmake --install build