aboutsummaryrefslogtreecommitdiffstats
path: root/community/bzr/APKBUILD
blob: 63d5f309ce5ebf579ac9d79593f1dd7f59f7367a (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
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"