desktop/rbtools/PKGBUILD

24 lines
765 B
Bash
Raw Normal View History

pkgname=rbtools
2016-05-12 04:52:48 +08:00
pkgver=0.7.6
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")
2016-05-12 04:52:48 +08:00
sha512sums=('b97d0108e77004d2fe364c28c97f5c25f011ce4b33152a47f4ea360cd5cf7edb1d4f8b4051c478c6f871603ac703747dfe49f5ba1df2ab950e604789c192c253')
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"
}