aboutsummaryrefslogtreecommitdiffstats
path: root/main/bzr
diff options
context:
space:
mode:
Diffstat (limited to 'main/bzr')
-rw-r--r--main/bzr/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/main/bzr/APKBUILD b/main/bzr/APKBUILD
index 58e002fbf1..27500d583e 100644
--- a/main/bzr/APKBUILD
+++ b/main/bzr/APKBUILD
@@ -1,23 +1,24 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bzr
pkgver=2.6.0
-pkgrel=0
+pkgrel=1
pkgdesc="A scalable distributed SCM tool"
url="http://bazaar.canonical.com/"
arch="all"
-license="GPL"
+license="GPL2+"
depends="python"
makedepends="python-dev"
subpackages="$pkgname-doc"
source="http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
- python setup.py build
+ cd "$_builddir"
+ python setup.py build || return 1
}
-package() {
- cd "$srcdir"/$pkgname-$pkgver
+package() {
+ cd "$_builddir"
python setup.py install --root="$pkgdir" || return 1
}