summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abs/core-testing/pil/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/abs/core-testing/pil/PKGBUILD b/abs/core-testing/pil/PKGBUILD
index f16214a..5ae42bb 100644
--- a/abs/core-testing/pil/PKGBUILD
+++ b/abs/core-testing/pil/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pil
pkgver=1.1.6
-pkgrel=9
+pkgrel=11
pkgdesc="Python imaging library"
arch=('i686' 'x86_64')
url="http://www.pythonware.com/products/pil/index.htm"
@@ -16,8 +16,8 @@ md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
build() {
cd $srcdir/Imaging-$pkgver
- sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6\"#" setup.py
- python setup.py build_ext
+ sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py
+ python setup.py build_ext -i
python setup.py install --root=$pkgdir
mkdir -p $pkgdir/usr/include/python2.6/
cp libImaging/*.h $pkgdir/usr/include/python2.6/