diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-12 16:11:51 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-13 12:37:20 +0000 |
commit | 7caf00125a6657db4698d8c6e0e941eecd71ed44 (patch) | |
tree | 21e47548751116e2ef83f5c51bc35bc798c77f5f | |
parent | 542617a6b12660346a6baef697934ab7f098dc41 (diff) | |
download | abuild-7caf00125a6657db4698d8c6e0e941eecd71ed44.tar.gz abuild-7caf00125a6657db4698d8c6e0e941eecd71ed44.tar.bz2 abuild-7caf00125a6657db4698d8c6e0e941eecd71ed44.tar.xz abuild-7caf00125a6657db4698d8c6e0e941eecd71ed44.zip |
apkbuild-pypi: rename _builddir to builddir
-rw-r--r-- | apkbuild-pypi.in | 6 |
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" \ |