blob: 50db55a3003133bebf05b2ba7695a3f456e76dbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=py3-compdb
_pkgname=${pkgname#py3-*}
pkgver=0.2.0
pkgrel=1
pkgdesc="The compilation database Swiss army knife"
url="https://github.com/Sarcasm/compdb"
arch="noarch"
license="MIT"
depends="py3-setuptools"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Sarcasm/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/"$_pkgname-$pkgver
replaces="py-compdb" # Backwards compat
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
install -d "$pkgdir"/usr/share/doc/$_pkgname/
install -t "$pkgdir"/usr/share/doc/$_pkgname/ README.rst
}
sha512sums="9b3000db087243f20b91d4091d0eaa71951860eba87f74ce5dd895a2f249f816145c30a9e791752e82947d9d9f4bb9dc49738356d0af442f38aa1fd91c43cf22 py3-compdb-0.2.0.tar.gz"
|