diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/gcovr/APKBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/community/gcovr/APKBUILD b/community/gcovr/APKBUILD index 97f137694a..a751fea130 100644 --- a/community/gcovr/APKBUILD +++ b/community/gcovr/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: André Klitzing <aklitzing@gmail.com> pkgname=gcovr pkgver=3.3 -pkgrel=0 +pkgrel=1 pkgdesc="Generates a simple report that summarizes the gcc code coverage" url="http://gcovr.com/" arch="noarch" @@ -14,14 +14,17 @@ builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - python2 setup.py build || return 1 + python2 setup.py build +} + +check() { + cd "$builddir" + ./scripts/gcovr --help > /dev/null } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="85af705ca6e1187d2bae967d26810c55 gcovr-3.3.tar.gz" -sha256sums="8a60ba6242d67a58320e9e16630d80448ef6d5284fda5fb3eff927b63c8b04a2 gcovr-3.3.tar.gz" sha512sums="e5046bc4e38c99691c3bcc58abdfbbe965c46d02c8c50dbf135bd5108bd9bba1fa450ab0b5e23157a178f7c1303ec9c285470e9be1a14274528e5d7051013a08 gcovr-3.3.tar.gz" |