contrib/python3-pillow/Pkgfile

19 lines
566 B
Plaintext

# Description: Python Imaging Library (PIL) fork.
# URL: https://python-pillow.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: lcms2 libraqm libwebp
# Optional: tk
name=python3-pillow
_name=Pillow
version=9.2.0
release=1
source=(https://github.com/python-pillow/Pillow/archive/$version/$_name-$version.tar.gz)
#https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
build() {
cd $_name-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1 --skip-build
}