summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-28 07:57:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-28 11:54:40 +0000
commitb8da78bc3d6bda250c5305b520324579d7c50d9f (patch)
treeb25ebab23a469c13c65bf632088eed53670dbd9e /main
parent6959e373f1107e176d222e4ad73028c1e1edf918 (diff)
downloadaports-b8da78bc3d6bda250c5305b520324579d7c50d9f.tar.bz2
aports-b8da78bc3d6bda250c5305b520324579d7c50d9f.tar.xz
main/py-imaging: remove python2.6 traces
Diffstat (limited to 'main')
-rw-r--r--main/py-imaging/APKBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/main/py-imaging/APKBUILD b/main/py-imaging/APKBUILD
index 7b793a545..b7f0d8007 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"
}