summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e71290a65139a608ef4f99048f5f1e6355787b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Contributor: Doron Behar <doron.behar@gmail.com>
# Maintainer: hexchain <i@hexchain.org>

pkgname=compiledb
pkgver=0.10.0
pkgrel=1
pkgdesc="Tool for generating Clang's JSON Compilation Database file for GNU make-based build systems"
arch=('any')
url="https://github.com/nickdiego/compiledb-generator"
license=('GPL3')
depends=('python' 'python-click' 'python-bashlex' 'python-shutilwhich')
replaces=(compiledb-generator)
source=("${url}/archive/v${pkgver}.tar.gz")

package() {
    cd "$srcdir/$pkgname-$pkgver"
    python setup.py install --root="$pkgdir/" --optimize=1
}
sha256sums=('2950eb6e6fa425a92a92cb79e1489cf94c1aff6fb39b1ff5f8ce1467039b9771')