aboutsummaryrefslogtreecommitdiffstats
path: root/main/bzr/APKBUILD
blob: b900228bb98974d2807a00f2a3db7b51c5ba8d4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bzr
pkgver=2.4.1
pkgrel=0
pkgdesc="A scalable distributed SCM tool"
url="http://bazaar.canonical.com/"
arch="all"
license="GPL"
depends="python"
makedepends="python-dev"
subpackages="$pkgname-doc"
source="http://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver
	python setup.py build
}

package() { 
	cd "$srcdir"/$pkgname-$pkgver
	python setup.py install --root="$pkgdir" || return 1
}

doc() {
	mkdir -p "$subpkgdir"/usr/share
	mv "$pkgdir"/usr/man "$subpkgdir"/usr/share/man
}

md5sums="61068bfc1f0c9fb8a4b92bca204e0df8  bzr-2.4.1.tar.gz"