summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorYen Chi Hsuan2016-02-17 22:59:07 +0800
committerYen Chi Hsuan2016-02-17 22:59:07 +0800
commit445841bd08881699cebf5994ac165c3e770fc6ee (patch)
tree9a7b5903e928b9ceb9c43cb8fea13e7463cb2f55 /PKGBUILD
parent5732ce342a928288323bc6c19a6ae7ccf8db726c (diff)
downloadaur-445841bd08881699cebf5994ac165c3e770fc6ee.tar.gz
Fix freetype header path
Ref: https://trac.macports.org/ticket/41593
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c652d535929..b4b7df42023 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=python2-imaging
pkgver=1.1.7
-pkgrel=12
+pkgrel=13
pkgdesc="PIL. Provides image processing capabilities for python"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'armv6l')
url="http://www.pythonware.com/products/pil/index.htm"
@@ -21,8 +21,16 @@ optdepends=('tk: for the ImageTK module'
provides=("pil=${pkgver}")
conflicts=('pil')
replaces=('pil')
-source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz)
-md5sums=('fc14a54e1ce02a0225be8854bfba478e')
+source=(http://effbot.org/downloads/Imaging-${pkgver}.tar.gz
+ ftheaders.patch)
+md5sums=('fc14a54e1ce02a0225be8854bfba478e'
+ '8e38bfc967145c5467b57f40ceed63e7')
+
+prepare() {
+ cd "${srcdir}/Imaging-${pkgver}"
+
+ patch -F 0 -N -p1 -i ../ftheaders.patch
+}
build() {
cd "${srcdir}/Imaging-${pkgver}"