diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-12-10 00:19:00 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-12-10 00:19:00 (GMT) |
commit | 5ab2c2d585290fb77dfc8d3670361df2fdc11c62 (patch) | |
tree | 58fc24f3a355bff701d6e93ba8011e9d1764f7b9 /abs/extra/python-imaging/PKGBUILD | |
parent | 4592612b015ff899ef52f33d96b52b5c60587ebb (diff) | |
download | linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.zip linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.gz linhes_pkgbuild-5ab2c2d585290fb77dfc8d3670361df2fdc11c62.tar.bz2 |
A whole lotta housekeeping
Diffstat (limited to 'abs/extra/python-imaging/PKGBUILD')
-rw-r--r-- | abs/extra/python-imaging/PKGBUILD | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/abs/extra/python-imaging/PKGBUILD b/abs/extra/python-imaging/PKGBUILD deleted file mode 100644 index f947154..0000000 --- a/abs/extra/python-imaging/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 87626 2010-08-17 13:21:07Z allan $ -# Maintainer: Allan McRae <allan@archlinux.org> -# Contributor: simo <simo@archlinux.org> - -pkgname=python-imaging -pkgver=1.1.7 -pkgrel=4 -pkgdesc="PIL. Provides image processing capabilities for python" -arch=('i686' 'x86_64') -url="http://www.pythonware.com/products/pil/index.htm" -license=('custom:"pil"') -depends=('python2' 'libjpeg' 'freetype2') -makedepends=('tk') -optdepends=('tk') -provides=("pil=$pkgver") -conflicts=('pil') -replaces=('pil') -source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz) -md5sums=('fc14a54e1ce02a0225be8854bfba478e') - -build() { - cd $srcdir/Imaging-$pkgver - sed -i "s#JPEG_ROOT\ =\ None#JPEG_ROOT\ =\ \"/opt/libjpeg6/lib\",\ \"/opt/libjpeg6/include\"#" setup.py - python2 setup.py build_ext -} - -package() { - cd $srcdir/Imaging-$pkgver - python2 setup.py install --root=$pkgdir - install -dm755 $pkgdir/usr/include/python2.7/ - install -m644 -t $pkgdir/usr/include/python2.7/ libImaging/*.h - - # do not have files ending in .py in /usr/bin - for f in pildriver pilprint pilconvert pilfile pilfont; do - mv $pkgdir/usr/bin/$f{.py,} - done - - # Install license - install -Dm644 $srcdir/Imaging-$pkgver/README \ - $pkgdir/usr/share/licenses/$pkgname/README -} - |