summaryrefslogtreecommitdiffstats
path: root/main/bzr/APKBUILD
blob: 27500d583e8ff2ebcdb25a6007c3e2b4bc35af75 (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
30
31
32
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bzr
pkgver=2.6.0
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
url="http://bazaar.canonical.com/"
arch="all"
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 "$_builddir"
	python setup.py build || return 1
}

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

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

md5sums="28c86653d0df10d202c6b842deb0ea35  bzr-2.6.0.tar.gz"
sha256sums="0994797182eb828867eee81cccc79480bd2946c99304266bc427b902cf91dab0  bzr-2.6.0.tar.gz"
sha512sums="f40d4380a837321c2ed168d15b0b5d31e9de6df93c0f8f2fd9b16c9351524b0afac5b8744740f587e9704efeb4cc004cae7f35aed47f73b5c796cbe2526af980  bzr-2.6.0.tar.gz"