desktop/rbtools/PKGBUILD

24 lines
766 B
Bash
Raw Normal View History

pkgname=rbtools
2017-05-26 03:45:50 +08:00
pkgver=0.7.10
pkgrel=1
pkgdesc="Client tools for Review Board"
2014-04-02 22:02:48 +08:00
arch=('x86_64')
url="http://www.reviewboard.org/"
license=('custom:MIT')
depends=('python2')
makedepends=('python2-setuptools')
2015-06-23 01:16:42 +08:00
source=("$pkgname-$pkgver::https://github.com/reviewboard/rbtools/archive/release-${pkgver}.tar.gz")
2017-05-26 03:45:50 +08:00
sha512sums=('3859f6e7ee613382cbe3bc659db14b9440bbd6b870c9a45a5b128d14eefb8c2ae4c72c439617e30667e47a37d2ae0ad222eae325fd5e75993ea472d78b75bd81')
build() {
2015-06-23 01:16:42 +08:00
cd "$srcdir/$pkgname-release-$pkgver"
python2 setup.py build
}
package() {
2015-06-23 01:16:42 +08:00
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"
}