# Maintainer: William Pitcock pkgname=bzr pkgver=2.5.0 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="44eb47b77995098a28f017e2daa606b6 bzr-2.5.0.tar.gz"