5 pkgdesc="Client tools for Review Board"
7 url="http://www.reviewboard.org/"
10 makedepends=('setuptools')
11 source=(http://downloads.reviewboard.org/releases/RBTools/${verprefix}/RBTools-${pkgver}.tar.gz)
12 md5sums=('4034c76fcb5c2d6ffb8c09116a942888')
15 cd "$srcdir/RBTools-$pkgver"
16 find . -type f -exec sed -i 's@#!/usr.*python@#!/usr/bin/python2@' {} \;
18 python2 setup.py build || return 1
22 cd "$srcdir/RBTools-$pkgver"
23 python2 setup.py install --root "${pkgdir}" || return 1
24 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
25 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
28 # vim: set ts=2 sw=2 et: