pkgname=rbtools pkgver=0.7.10 pkgrel=1 pkgdesc="Client tools for Review Board" arch=('x86_64') url="http://www.reviewboard.org/" license=('custom:MIT') depends=('python2') makedepends=('python2-setuptools') source=("$pkgname-$pkgver::https://github.com/reviewboard/rbtools/archive/release-${pkgver}.tar.gz") sha512sums=('3859f6e7ee613382cbe3bc659db14b9440bbd6b870c9a45a5b128d14eefb8c2ae4c72c439617e30667e47a37d2ae0ad222eae325fd5e75993ea472d78b75bd81') build() { cd "$srcdir/$pkgname-release-$pkgver" python2 setup.py build } package() { cd "$srcdir/$pkgname-release-$pkgver" python2 setup.py install --root "${pkgdir}" install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }