Files
ports/core/python3-pillow/spkgbuild
2020-10-30 21:34:45 +08:00

17 lines
468 B
Plaintext

# description : Python Imaging Library (PIL) fork
# depends : python3 python3-setuptools freetype2 openjpeg2
name=python3-pillow
version=8.0.1
release=1
source="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.7m/"
install -m644 -t "$PKG/usr/include/python3.7m/" src/libImaging/*.h
}