contrib/python3-pillow/Pkgfile

18 lines
470 B
Plaintext
Raw Normal View History

2017-11-04 09:18:58 +01:00
# Description: Python Imaging Library (PIL) fork.
# URL: https://python-pillow.org/
2017-11-04 09:18:58 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: lcms2 libraqm libwebp
# Optional: tk
2017-11-04 09:18:58 +01:00
name=python3-pillow
_name=Pillow
2020-07-08 13:02:02 +02:00
version=7.2.0
2017-11-04 09:18:58 +01:00
release=1
source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
2017-11-04 09:18:58 +01:00
build() {
cd $_name-$version
2017-11-04 09:18:58 +01:00
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
2017-11-04 09:18:58 +01:00
}