# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=gcovr
pkgver=3.3
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 || return 1
}

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

md5sums="85af705ca6e1187d2bae967d26810c55  gcovr-3.3.tar.gz"
sha256sums="8a60ba6242d67a58320e9e16630d80448ef6d5284fda5fb3eff927b63c8b04a2  gcovr-3.3.tar.gz"
sha512sums="e5046bc4e38c99691c3bcc58abdfbbe965c46d02c8c50dbf135bd5108bd9bba1fa450ab0b5e23157a178f7c1303ec9c285470e9be1a14274528e5d7051013a08  gcovr-3.3.tar.gz"