# Maintainer: Guillaume Horel # Maintainer: Caleb Maclennan pkgname=python-skia-pathops _pkgname=${pkgname#python-} pkgver=0.7.2 pkgrel=2 pkgdesc='Python bindings for the Skia library’s Path Ops (wheel)' arch=(x86_64) url="https://github.com/fonttools/$_pkgname" license=(BSD) depends=(python) makedepends=(python-pip) options=(!strip) _py=cp310 _wheel="${_pkgname/-/_}-$pkgver-$_py-$_py-manylinux_2_17_x86_64.manylinux2014_x86_64.whl" source=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/$_wheel") sha256sums=('f6b518fca15b4456ddf99062f334c0333a5165be976fb0c9e071af29128583f7') # If anybody wants to mess around with the Chromium tree and figure out how to # build skia from source on Arch I'm open to patches, but even after mucking # around with ninja and python2 and various patched build toolchains I have # come up short of a way to build this against Arch packages as dependencies. # Drop a comment on the AUR page if you have ideas. package() { export PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps $_wheel python -O -m compileall "$pkgdir" }