summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79ca31f7535
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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"
+}