summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83978d40b43bb76df0c84c8da797f9d39f364dfb (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: nontlikeuname

pkgname=templar-git
pkgver=5d81da1
pkgrel=1
pkgdesc="Visualization tool for Templight C++ template debugger traces"
arch=(any)
depends=()
makedepends=('git' 'qt5-base' 'clang-trunk')
#checkdepends=(gcc-objc gnustep-make vala rust gcc-fortran mono boost qt5-base) #gtest or googletest
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/schulmar/Templar')
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/Templar"
	printf "%s" "$(git describe --long --always | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/Templar"
	qmake
	make
}

package() {
	cd "$srcdir/Templar"
	install -Dm755 Templar "${pkgdir}/usr/bin/Templar"
}