Files
ports/core/python2-pillow/spkgbuild
2019-10-07 16:01:03 +08:00

18 lines
508 B
Plaintext

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