desktop/rbtools/PKGBUILD

28 lines
812 B
Bash
Raw Normal View History

2014-04-02 22:02:48 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
# previous CCR-Maintainer: Simone Gaiarin <simgunz@gmail.com>
pkgname=rbtools
2014-06-21 22:36:35 +08:00
verprefix=0.6
2014-11-18 09:42:07 +08:00
pkgver=${verprefix}.3
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')
source=("http://downloads.reviewboard.org/releases/RBTools/${verprefix}/RBTools-${pkgver}.tar.gz")
2014-11-18 09:42:07 +08:00
sha1sums=('9518df550cd1e2eb515ea88c7917f60bcc1b7d32')
build() {
cd "$srcdir/RBTools-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/RBTools-$pkgver"
python2 setup.py install --root "${pkgdir}"
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}