summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18dbf38a955def9007288bccfc7068d7ab904315 (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.1
pkgrel=2
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' 'python-setuptools')
replaces=(compiledb-generator)
source=("$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz")

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