# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=lcov
pkgver=1.15
pkgrel=0
pkgdesc="Graphical frontend for GCC GCov"
url="http://ltp.sourceforge.net/coverage/lcov.php"
arch="noarch"
license="GPL-2.0+"
depends="perl"
makedepends=""
subpackages="$pkgname-doc"
source="https://github.com/linux-test-project/lcov/releases/download/v$pkgver/lcov-$pkgver.tar.gz"

build() {
	make
}

check() {
	make test
}

package() {
	GIT_DIR= make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="dda0eadbd0ea2093f17cba039309ccda3dbcb7266d083b46bda61e02cd7f049d66de49be1e005157c3e5af910d2703ffbc9cfe7f1242bd67b9787f8508e4d052  lcov-1.15.tar.gz"