summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 087425f278188d8d48c2fd424272359c907526e8 (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
# Maintainer: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen(at)gmail.com>
pkgname=puncover-git
pkgver=r74.706dcc5
pkgrel=1
pkgdesc="Analyses C/C++ build output for code size, static variables, and stack usage"
arch=(any)
url="https://github.com/HBehrens/puncover"
license=('MIT')
groups=()
depends=(python-flask)
makedepends=('git')
provides=("puncover")
conflicts=("puncover")
replaces=()
backup=()
options=()
install=
source=('puncover::git+https://github.com/HBehrens/puncover.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/puncover"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/puncover"
	./setup.py install --prefix /usr --root $pkgdir
}