summaryrefslogtreecommitdiff
path: root/pcr/lcov/PKGBUILD
blob: d9a20b7a19fce6e4cac5acd7a7882a3e246f239e (plain)
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
31
32
33
34
35
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
# Contributor (AUR): Jordi De Groof <jordi.degroof@gmail.com>
# Contributor (AUR): Andre Klitzing <aklitzing@gmail.com>

pkgname=lcov
pkgver=1.13
pkgrel=2
pkgdesc="front-end for GCC's coverage testing tool gcov"
arch=('any')
url="http://ltp.sourceforge.net/coverage/lcov.php"
license=('GPL')
depends=('perl')
source=("http://downloads.sourceforge.net/ltp/$pkgname-$pkgver.tar.gz"
        "handle-equals-signs.patch"
        "fix-undef-behaviour.patch"
        )

prepare()
{
  cd "$srcdir/$pkgname-$pkgver"
  patch -p1 -i $srcdir/handle-equals-signs.patch
  patch -p1 -i $srcdir/fix-undef-behaviour.patch
}


package()
{
 cd "$srcdir/$pkgname-$pkgver"

 make PREFIX="$pkgdir/usr" install
}

sha256sums=('44972c878482cc06a05fe78eaa3645cbfcbad6634615c3309858b207965d8a23'
            '54728aa4e244d3662c65ba91fb486dc1d5c64d9d55745ee334c4131109dc233c'
            'ceaf41f7cc9cea5a6fc4b0385ffef10d1ab8812acd2a5b16dcd8d7bca7120488')