summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79ca31f753578d8360fff568a8882269ef883043 (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
pkgname=renderdoc
pkgver=0.25
pkgrel=1
pkgdesc="RenderDoc is a stand-alone graphics debugging tool."
arch=(i686 x86_64)
url="https://github.com/baldurk/renderdoc"
license=("MIT")
depends=(qt5-x11extras)
source=("https://github.com/baldurk/renderdoc/archive/v$pkgver.tar.gz" "$pkgname.desktop")
sha256sums=('179e2b67b32cb37ad3056fef7a0891eaddc046d34013b8be862a6b9ee8f6e8ed'
            'eab4941dc17fbbdcb9e34a698c3b304d212be54956daeb0c3b1cf5b7f2b00984')

build() {
	cd $pkgname-$pkgver
	make
}

package() {
	install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
	cd $pkgname-$pkgver/bin
	install -Dm644 librenderdoc.so "$pkgdir/usr/lib/librenderdoc.so"
	install -Dm755 qrenderdoc "$pkgdir/usr/bin/qrenderdoc"
	install -Dm755 renderdoccmd "$pkgdir/usr/bin/"
	cd ..
	install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
	cd docs/imgs
	install -Dm644 logo.png "$pkgdir/usr/share/icons/$pkgname.png"
}