summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/pil
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/pil
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/pil')
-rw-r--r--abs/core-testing/pil/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core-testing/pil/PKGBUILD b/abs/core-testing/pil/PKGBUILD
new file mode 100644
index 0000000..59e9b83
--- /dev/null
+++ b/abs/core-testing/pil/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: simo <simo@archlinux.org>
+pkgname=pil
+pkgver=1.1.6
+pkgrel=4
+pkgdesc="Python imaging library"
+arch=(i686 x86_64)
+url="http://www.pythonware.com/products/pil/index.htm"
+license=('custom:"pil"')
+depends=('python' 'libjpeg' 'freetype2')
+makedepends=('tk>=8.5.0')
+source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
+md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
+
+build() {
+ cd $startdir/src/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/
+
+ # Install license
+ install -m644 -D $startdir/src/Imaging-$pkgver/README \
+ $startdir/pkg/usr/share/licenses/pil/README
+}
+