aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-imaging/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-imaging/APKBUILD')
-rw-r--r--main/py-imaging/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/py-imaging/APKBUILD b/main/py-imaging/APKBUILD
new file mode 100644
index 0000000000..b7f0d80077
--- /dev/null
+++ b/main/py-imaging/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+
+pkgname=py-imaging
+pkgver=1.1.7
+pkgrel=2
+pkgdesc="Python image manipulation library"
+url="http://pypi.python.org/pypi/PIL"
+arch="all"
+license="PSF"
+depends="python freetype"
+makedepends="python-dev freetype-dev"
+install=
+subpackages=""
+source="http://effbot.org/downloads/Imaging-$pkgver.tar.gz"
+
+_builddir="$srcdir"/Imaging-$pkgver
+build() {
+ cd "$_builddir"
+ python setup.py build
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root="$pkgdir"
+}
+
+md5sums="fc14a54e1ce02a0225be8854bfba478e Imaging-1.1.7.tar.gz"