aboutsummaryrefslogtreecommitdiffstats
path: root/community/bzr/APKBUILD
blob: 670caed75687045bfb69d5ac1e4283087d105b09 (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
33
34
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=bzr
pkgver=2.7.0
pkgrel=1
pkgdesc="A scalable distributed SCM tool"
url="http://bazaar.canonical.com/"
arch="all"
license="GPL-2.0-or-later"
depends="python2"
makedepends="python2-dev"
subpackages="$pkgname-doc"
source="https://launchpad.net/${pkgname}/${pkgver%.*}/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz
	CVE-2017-14176.patch
	"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	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"