summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apkbuild-pypi.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/apkbuild-pypi.in b/apkbuild-pypi.in
index e167f18..dd8779b 100644
--- a/apkbuild-pypi.in
+++ b/apkbuild-pypi.in
@@ -29,15 +29,15 @@ depends="python $pydepends"
makedepends="python-dev $pymakedepends"
subpackages="$pkgname-doc"
source="[% source %]"
+builddir="$srcdir/$_pkgreal-$pkgver"
-_builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install \
--prefix=/usr \
--root="$pkgdir" \