summaryrefslogtreecommitdiff
path: root/extra/python-imaging/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-07 11:02:07 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-07 11:02:07 -0300
commit8a3d4ee5105eefa2136eb7ae83e69d01f29864c3 (patch)
tree8be9a06d3b2d8cade4b5dba48e040c632bd33850 /extra/python-imaging/PKGBUILD
parent404b7ff94ece6bb2ce0e9df042ac1fe798137c83 (diff)
parentd1d87d2ac643e3dabc251f3cec7d3b00e29b282c (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/zathura/PKGBUILD extra/gnome-desktop-sharp/PKGBUILD extra/gnome-python-desktop/PKGBUILD extra/libdvdread/PKGBUILD extra/mjpegtools/PKGBUILD extra/postgresql/PKGBUILD
Diffstat (limited to 'extra/python-imaging/PKGBUILD')
-rw-r--r--extra/python-imaging/PKGBUILD32
1 files changed, 16 insertions, 16 deletions
diff --git a/extra/python-imaging/PKGBUILD b/extra/python-imaging/PKGBUILD
index 494b08521..3493f7e80 100644
--- a/extra/python-imaging/PKGBUILD
+++ b/extra/python-imaging/PKGBUILD
@@ -1,48 +1,48 @@
-# $Id: PKGBUILD 110352 2011-02-18 23:00:51Z allan $
-# Maintainer: Allan McRae <allan@archlinux.org>
+# $Id: PKGBUILD 144447 2011-12-05 21:28:19Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: simo <simo@archlinux.org>
pkgname=python-imaging
pkgver=1.1.7
-pkgrel=3
+pkgrel=4
pkgdesc="PIL. Provides image processing capabilities for python"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.pythonware.com/products/pil/index.htm"
license=('custom:"pil"')
-depends=('python2' 'libjpeg' 'freetype2')
+depends=('python2' 'libjpeg' 'freetype2' 'lcms')
makedepends=('tk' 'sane')
optdepends=('tk' 'sane')
-provides=("pil=$pkgver")
+provides=("pil=${pkgver}")
conflicts=('pil')
replaces=('pil')
-source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
+source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
md5sums=('fc14a54e1ce02a0225be8854bfba478e')
build() {
- cd $srcdir/Imaging-$pkgver
+ cd "${srcdir}"/Imaging-${pkgver}
python2 setup.py build_ext
cd Sane
python2 setup.py build_ext
}
package() {
- cd $srcdir/Imaging-$pkgver
- python2 setup.py install --root=$pkgdir
+ cd "${srcdir}"/Imaging-${pkgver}
+ python2 setup.py install --root="${pkgdir}" --optimize=1
pushd Sane
- python2 setup.py install --root=$pkgdir
+ python2 setup.py install --root="${pkgdir}" --optimize=1
popd
- install -dm755 $pkgdir/usr/include/python2.7/
- install -m644 -t $pkgdir/usr/include/python2.7/ libImaging/*.h
+ 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,}
+ mv "${pkgdir}"/usr/bin/${f}{.py,}
done
# Install license
- install -Dm644 $srcdir/Imaging-$pkgver/README \
- $pkgdir/usr/share/licenses/$pkgname/README
+ install -Dm644 "${srcdir}"/Imaging-${pkgver}/README \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/README
}
-