summaryrefslogtreecommitdiffstats
path: root/main/bzr
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 09:50:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:20 +0000
commita1940fc4cd37972ca7af2559c6fea880d48d19ac (patch)
tree7221a5c33398c83e332ddda11ff75f8bbf0de7a2 /main/bzr
parent6cc9d56772b53c248743a75d81569167d253b0fa (diff)
downloadaports-a1940fc4cd37972ca7af2559c6fea880d48d19ac.tar.bz2
aports-a1940fc4cd37972ca7af2559c6fea880d48d19ac.tar.xz
main/bzr: specify license
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 58e002fbf..27500d583 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
}