aboutsummaryrefslogtreecommitdiffstats
path: root/community/gcovr/APKBUILD
blob: 7f2e3b9aab45fe61a927fd811fb8a1ddefe8e0d4 (plain) (blame)
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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=gcovr
pkgver=3.4
pkgrel=0
pkgdesc="Generates a simple report that summarizes the gcc code coverage"
url="http://gcovr.com/"
arch="noarch"
license="BSD"
depends="python2"
makedepends="python2-dev py-setuptools"
source="gcovr-${pkgver}.tar.gz::https://github.com/gcovr/gcovr/archive/${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

check() {
	cd "$builddir"
	./scripts/gcovr --help > /dev/null
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e4553e87489cff5c1cde435c6229bcbeb3bbc4c06088582ad4931817bf84858c47de14592572e58a7a45a342ab5ca7af3b8547961103dbe6aac31557adb11d9e  gcovr-3.4.tar.gz"