mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
24 lines
765 B
Bash
24 lines
765 B
Bash
pkgname=rbtools
|
|
pkgver=0.7.9
|
|
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=('35e633902e604561d58b7f10d60656708afcbce90508614bd1093f9ddb4056b910b9c62375c8fc034aed6a0a33eecf1c8e2f58554c6428ebe7ac2bb570edf820')
|
|
|
|
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"
|
|
}
|