updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / wikkid-bzr / PKGBUILD
blob8b52dc3173d841bd1241f7bfdbe4c6e486de3192
1 # Maintainer: Aaron DeVore <aaron.devore@gmail.com>
2 # Contributor: Georges Dubus <georges.dubus@compiletoi.net>
3 pkgname=wikkid-bzr
4 pkgver=58
5 pkgrel=1
6 pkgdesc="A wiki that is backed by Bazaar that allows local branching of the wiki for later merging. Also doesn't have any page locks and uses Bazaar's three way merging."
7 arch=(any)
8 url="https://launchpad.net/wikkid"
9 license=(AGPL)
10 depends=(bzr python2-pygments python-jinja python2-webob zope-interface docutils)
11 optdepends=('python-beautifulsoup: for tests')
12 makedepends=(setuptools)
14 #We use http instead of bzr+ssh to avoid authentication problems.
15 _bzrtrunk=http://bazaar.launchpad.net/~wikkid/wikkid/trunk
16 _bzrmod=wikkid
18 build() {
19   cd $srcdir
20   if [[ -d ${_bzrmod} ]]; then
21     (rm -rf $_bzrmod)
22   fi
23   msg "Connecting to $_bzrtrunk bzr server...."
24   bzr checkout --lightweight ${_bzrtrunk} ${_bzrmod}
25   cd $srcdir/${_bzrmod}
26   python2 setup.py install --root=$pkgdir
27   install -Dm644 LICENCE $pkgdir/usr/share/licenses/$pkgname/LICENCE