aboutsummaryrefslogtreecommitdiffstats
path: root/main/bzr
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-07 01:30:11 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-07 01:30:11 -0600
commite9b904e984311ebe6b1ccba2f5abb5abdf865423 (patch)
treea50d0b150520a28c0fd75a64e30bf95a66588d9c /main/bzr
parentc13aeff0a7bc6ef42c872845a56dbebcdfec1fa2 (diff)
downloadaports-e9b904e984311ebe6b1ccba2f5abb5abdf865423.tar.bz2
aports-e9b904e984311ebe6b1ccba2f5abb5abdf865423.tar.xz
main/bzr: promote from main
Diffstat (limited to 'main/bzr')
-rw-r--r--main/bzr/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/bzr/APKBUILD b/main/bzr/APKBUILD
new file mode 100644
index 0000000000..1b64dd8cab
--- /dev/null
+++ b/main/bzr/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=bzr
+pkgver=2.3.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="2d8bc55d43209189a209361178d9d372 bzr-2.3.0.tar.gz"