# description : Python Imaging Library (PIL) fork # depends : python3-setuptools freetype2 openjpeg2 name=python3-pillow version=10.1.0 release=1 source="$name-$version.tar.gz::https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-$version.tar.gz" build() { cd Pillow-$version python3 setup.py build python3 setup.py install --root="$PKG" --optimize=1 install -dm755 "$PKG/usr/include/python3.9m/" install -m644 -t "$PKG/usr/include/python3.9m/" src/libImaging/*.h }