# Maintainer: William Pitcock pkgname=bzr pkgver=2.7.0 pkgrel=0 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 default_doc } md5sums="8e5020502efd54f5925a14a456b88b89 bzr-2.7.0.tar.gz" sha256sums="0d451227b705a0dd21d8408353fe7e44d3a5069e6c4c26e5f146f1314b8fdab3 bzr-2.7.0.tar.gz" sha512sums="c39ad3715d865788da74d8de8b469e1dc93d18b6cbcbc569464cdeb9bb2173bf8d7f4f8ee8f7599fbcbbe322817a4c72e785d544e622753699c425c32597d9aa bzr-2.7.0.tar.gz"