summaryrefslogtreecommitdiff
path: root/community/python-pillow
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-18 01:09:28 -0700
committerroot <root@rshg054.dnsready.net>2013-10-18 01:09:28 -0700
commitcc1dbaab9d968ae5ace1956c3662b8b492694800 (patch)
treeda9b8d35950f63d7a68e4d4e5938715e1f0f5cdb /community/python-pillow
parentc72dc5de577922ea7f6002cdabcfac1576eae211 (diff)
Fri Oct 18 01:09:01 PDT 2013
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