updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bugseverywhere / PKGBUILD
bloba6cec2de0a65eadc7ea21ee78ea05b446eb30093
1 # Contributor: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
2 pkgname=bugseverywhere
3 pkgver=1.0.1
4 pkgrel=1
5 pkgdesc="A distributed bugtracker"
6 arch=('any')
7 url="http://bugseverywhere.org/be"
8 license=('GPL')
9 depends=('python2' 'python2-yaml')
10 makedepends=('python-sphinx' 'python-numpydoc')
11 optdepends=('cherrypy: web interface')
12 provides=('bugseverywhere')
13 conflicts=('bugseverywhere-git' 'bugseverywhere-bzr')
14 backup=()
15 options=(!emptydirs)
16 install=
17 source=(http://download.bugseverywhere.org/releases/be-$pkgver.tar.gz)
18 noextract=()
19 md5sums=('6279998b0d6c1068f91330cec69105c9') #generate with 'makepkg -g'
21 build() {
23   cd "$srcdir/be-$pkgver"
25   python2 setup.py install --root=$pkgdir/ --optimize=1
27   # Build html documentation
28   sed -i 's/python /python2 /' doc/Makefile
29   make sphinx
31   install -d $pkgdir/usr/share/doc/bugseverywhere
32   cp -r doc/.build/html/* $pkgdir/usr/share/doc/bugseverywhere/
36 # vim:set ts=2 sw=2 et: