Created
January 9, 2014 02:45
-
-
Save mikezackles/8328600 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Marc Plano-Lesay <marc.planolesay@gmail.com> | |
pkgname=gcovr | |
pkgver=3.1 | |
pkgrel=1 | |
pkgdesc="The gcovr script applies the Unix gcov command and generate a simple report that summarizes the coverage." | |
arch=('x86_64' 'i686') | |
url="http://gcovr.com" | |
license=('custom') | |
makedepends=('python2' 'python2-distribute') | |
depends=('python2' 'python2-distribute') | |
source=("https://github.com/gcovr/gcovr/archive/${pkgver}.tar.gz") | |
md5sums=('ae598bbd9258db0db70f8c0a4334021e') | |
prepare() { | |
cd "$srcdir/$pkgname-$pkgver" | |
} | |
build() { | |
cd "$srcdir/$pkgname-$pkgver" | |
python2 setup.py build | |
} | |
package() { | |
cd "$srcdir/$pkgname-$pkgver" | |
python2 setup.py install --root="$pkgdir/" | |
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE.txt || return 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment