desktop/rbtools/PKGBUILD
2016-05-11 22:52:48 +02:00

24 lines
765 B
Bash

pkgname=rbtools
pkgver=0.7.6
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=('b97d0108e77004d2fe364c28c97f5c25f011ce4b33152a47f4ea360cd5cf7edb1d4f8b4051c478c6f871603ac703747dfe49f5ba1df2ab950e604789c192c253')
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"
}