diff options
Diffstat (limited to 'main/py-imaging/APKBUILD')
-rw-r--r-- | main/py-imaging/APKBUILD | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/main/py-imaging/APKBUILD b/main/py-imaging/APKBUILD index 7b793a5456..b7f0d80077 100644 --- a/main/py-imaging/APKBUILD +++ b/main/py-imaging/APKBUILD @@ -13,9 +13,15 @@ makedepends="python-dev freetype-dev" install= subpackages="" source="http://effbot.org/downloads/Imaging-$pkgver.tar.gz" + +_builddir="$srcdir"/Imaging-$pkgver build() { - cd "$srcdir"/Imaging-$pkgver - mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages + cd "$_builddir" + python setup.py build +} + +package() { + cd "$_builddir" python setup.py install --root="$pkgdir" } |