Files
ports/extra/python3-pillow/spkgbuild
2019-04-17 14:11:16 +08:00

18 lines
500 B
Plaintext

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