summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pil/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-12 19:19:50 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-12 19:19:50 (GMT)
commit6c619a60fd89b5e75a93cff06977c552ddf1e621 (patch)
tree630ca50ea1c128c4be85ce920ecf034c561bf7fe /abs/core-testing/pil/PKGBUILD
parent0b2b9b97e95f8f8bfda1d1fe09136d121cd0750d (diff)
parent634dff8fdd0a9c866c92f0020f282c23d1a438d8 (diff)
downloadlinhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.zip
linhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.tar.gz
linhes_pkgbuild-6c619a60fd89b5e75a93cff06977c552ddf1e621.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Conflicts: abs/core-testing/LinHES-config/PKGBUILD
Diffstat (limited to 'abs/core-testing/pil/PKGBUILD')
-rw-r--r--abs/core-testing/pil/PKGBUILD22
1 files changed, 12 insertions, 10 deletions
diff --git a/abs/core-testing/pil/PKGBUILD b/abs/core-testing/pil/PKGBUILD
index 59e9b83..f7149de 100644
--- a/abs/core-testing/pil/PKGBUILD
+++ b/abs/core-testing/pil/PKGBUILD
@@ -1,10 +1,12 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: simo <simo@archlinux.org>
+# $Id: PKGBUILD 16703 2008-10-22 02:31:25Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Contributor: simo <simo@archlinux.org>
+
pkgname=pil
pkgver=1.1.6
-pkgrel=4
+pkgrel=5
pkgdesc="Python imaging library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://www.pythonware.com/products/pil/index.htm"
license=('custom:"pil"')
depends=('python' 'libjpeg' 'freetype2')
@@ -13,14 +15,14 @@ source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
build() {
- cd $startdir/src/Imaging-$pkgver
+ cd $srcdir/Imaging-$pkgver
python setup.py build_ext
- python setup.py install --root=$startdir/pkg
- mkdir -p $startdir/pkg/usr/include/python2.5/
- cp libImaging/*.h $startdir/pkg/usr/include/python2.5/
+ python setup.py install --root=$pkgdir
+ mkdir -p $pkgdir/usr/include/python2.6/
+ cp libImaging/*.h $pkgdir/usr/include/python2.6/
# Install license
- install -m644 -D $startdir/src/Imaging-$pkgver/README \
- $startdir/pkg/usr/share/licenses/pil/README
+ install -m644 -D $srcdir/Imaging-$pkgver/README \
+ $pkgdir/usr/share/licenses/pil/README
}