mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
29 lines
840 B
Bash
29 lines
840 B
Bash
|
# $Id: PKGBUILD 43954 2009-06-30 07:47:45Z allan $
|
||
|
# Maintainer: Allan McRae <allan@archlinux.org>
|
||
|
# Contributor: simo <simo@archlinux.org>
|
||
|
|
||
|
pkgname=pil
|
||
|
pkgver=1.1.6
|
||
|
pkgrel=6
|
||
|
pkgdesc="Python imaging library"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.pythonware.com/products/pil/index.htm"
|
||
|
license=('custom:"pil"')
|
||
|
depends=('python' 'libjpeg>=7' 'freetype2')
|
||
|
makedepends=('tk>=8.5.0')
|
||
|
source=(http://effbot.org/downloads/Imaging-$pkgver.tar.gz)
|
||
|
md5sums=('3a9b5c20ca52f0a9900512d2c7347622')
|
||
|
|
||
|
build() {
|
||
|
cd $srcdir/Imaging-$pkgver
|
||
|
python setup.py build_ext
|
||
|
python setup.py install --root=$pkgdir
|
||
|
install -dm755 $pkgdir/usr/include/python2.6/
|
||
|
install -m644 -t $pkgdir/usr/include/python2.6/ libImaging/*.h
|
||
|
|
||
|
# Install license
|
||
|
install -Dm644 $srcdir/Imaging-$pkgver/README \
|
||
|
$pkgdir/usr/share/licenses/pil/README
|
||
|
}
|
||
|
|