# Description: Seamless operability between C++11 and Python # URL: https://github.com/pybind/pybind11/ # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: boost eigen3 python3-build python3-installer python3-wheel name=python3-pybind11 version=2.13.6 release=1 source=(https://github.com/pybind/pybind11/archive/v${version}/pybind11-v${version}.tar.gz) build() { cd ${name#*-}-$version /usr/bin/pip3 install --isolate --root="$PKG" --ignore-installed --no-deps . find $PKG \( -iname "README*" -o \ -iname INSTALLER -o \ -iname REQUESTED -o \ -iname "LICENSE*" \) -delete chmod -R g-w $PKG }