Files
ports/extra/python2-pillow/spkgbuild
2019-04-17 13:46:17 +08:00

18 lines
508 B
Plaintext

# description : Python Imaging Library (PIL) fork (python2)
# depends : python2 python2-setuptools freetype2
name=python2-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
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
}