# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=py-imaging
pkgver=1.1.7
pkgrel=4
pkgdesc="Python image manipulation library"
url="https://pypi.python.org/pypi/PIL"
arch="all"
license="PSF"
depends=""
makedepends="python2-dev freetype-dev jpeg-dev zlib-dev"
install=""
subpackages=""
source="http://effbot.org/downloads/Imaging-$pkgver.tar.gz"

_builddir="$srcdir"/Imaging-$pkgver
build() {
	cd "$_builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$_builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="fc14a54e1ce02a0225be8854bfba478e  Imaging-1.1.7.tar.gz"
sha256sums="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211  Imaging-1.1.7.tar.gz"
sha512sums="fec2d39b4db3cb33cd7e7895aba4c3a8a5d4cff28decb9106c88e392cb848edf5593fcd77d11994bb16321837fdb26958787dac2c86d6f7c09996f466bac11f1  Imaging-1.1.7.tar.gz"
