# Template file for 'bzr'
pkgname=bzr
version=2.5.1
revision=2
build_style=python-module
makedepends="zlib-devel python-devel Cython ca-certificates"
short_desc="Distributed version control system that Just Works"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://http://bazaar.canonical.com"
distfiles="http://launchpad.net/bzr/2.5/$version/+download/bzr-$version.tar.gz"
checksum=967346fa6cc52971a8dfd5171ec22e1928cf455fb4317013b05b0915ff927982

pre_install() {
	sed -i -e "s|man/man1|share/man/man1|" setup.py
}

bzr_package() {
	pycompile_module="bzrlib"
	depends="ca-certificates"
	pkg_install() {
		vmove usr
	}
}
