summaryrefslogtreecommitdiff
path: root/community/python-pillow
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-pillow')
-rw-r--r--community/python-pillow/PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/community/python-pillow/PKGBUILD b/community/python-pillow/PKGBUILD
index 6ef3cd700..9f2704036 100644
--- a/community/python-pillow/PKGBUILD
+++ b/community/python-pillow/PKGBUILD
@@ -1,12 +1,14 @@
-# $Id: PKGBUILD 98021 2013-10-04 01:35:36Z kkeen $
+# $Id: PKGBUILD 98694 2013-10-17 06:08:29Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: minder
pkgbase=python-pillow
pkgname=(python-pillow python2-pillow)
-_appname=Pillow
pkgver=2.2.1
-pkgrel=1
+pkgrel=2
+_appname=Pillow
+_py2basever=2.7
+_py3basever=3.3m
pkgdesc="Python Imaging Library (PIL) fork. Python3 version."
arch=('i686' 'x86_64')
url="http://python-imaging.github.io/"
@@ -32,6 +34,9 @@ package_python-pillow() {
popd
install -Dm644 docs/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -dm755 "$pkgdir/usr/include/python$_py3basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py3basever/" libImaging/*.h
+
# clean up bins
cd "$pkgdir/usr/bin"
for f in *.py; do
@@ -55,6 +60,9 @@ package_python2-pillow() {
popd
install -Dm644 docs/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -dm755 "$pkgdir/usr/include/python$_py2basever/"
+ install -m644 -t "$pkgdir/usr/include/python$_py2basever/" libImaging/*.h
+
# clean up bins
cd "$pkgdir/usr/bin"
for f in *.py; do