blob: 9cdca42c0297b5eb29af97650443f3694d040077 (
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
|
# Maintainer: Andres Rodriguez <andresx7@gmail.com>
pkgname=gpu-trace-git
pkgver=v2.0.r2.g42c9b66
pkgrel=1
pkgdesc="GPU Trace capture tool"
arch=('x86_64')
url="https://github.com/lostgoat/gpu-trace"
license=('MIT')
depends=('gpuvis-git' 'trace-cmd')
provides=('gpu-trace' 'amdgpu-trace')
conflicts=('gpu-trace' 'amdgpu-trace')
replaces=('amdgpu-trace')
source=("git+$url")
sha256sums=("SKIP")
pkgver() {
cd "$srcdir/gpu-trace"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/gpu-trace"
install -dm755 "$pkgdir/usr/bin/"
make INSTALL_ROOT="$pkgdir" INSTALL_PREFIX="/usr/" install
}
|