# Maintainer: pkgname=bzr pkgver=2.7.0 pkgrel=2 pkgdesc="A scalable distributed SCM tool" url="https://bazaar.canonical.com/" arch="all" license="GPL-2.0-or-later" depends="python2" makedepends="python2-dev" subpackages="$pkgname-doc" options="!check" # no testsuite source="https://launchpad.net/bzr/${pkgver%.*}/$pkgver/+download/bzr-$pkgver.tar.gz CVE-2017-14176.patch " build() { python2 setup.py build } package() { python2 setup.py install --root="$pkgdir" } doc() { mkdir -p "$subpkgdir"/usr/share mv "$pkgdir"/usr/man "$subpkgdir"/usr/share default_doc } sha512sums="c39ad3715d865788da74d8de8b469e1dc93d18b6cbcbc569464cdeb9bb2173bf8d7f4f8ee8f7599fbcbbe322817a4c72e785d544e622753699c425c32597d9aa bzr-2.7.0.tar.gz fd3027d859e6b2b07d3f408d9f0c2b5d9a66f83aae9dfdee9ca0c47a1b5969109418a73e9801da29b2179190c801f6cadde4f1e3fc80ed09650dd1e7fe4e2f5d CVE-2017-14176.patch"