diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..279a43ce5fb3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> +# Co-Maintainer: Eric Engestrom <aur [at] engestrom [dot] ch> +pkgname=vulkan-caps-viewer-x11-bin +pkgver=3.01 +pkgrel=1 +pkgdesc="Vulkan Hardware Capability Viewer" +arch=('x86_64') +url="http://vulkan.gpuinfo.org/" +license=('GPL2') +provides=("${pkgname%-*-*}") +conflicts=("${pkgname%-*-*}") +options=('!strip') +source=("https://vulkan.gpuinfo.org/downloads/vulkancapsviewer_${pkgver}_linux64.AppImage") +sha256sums=('e3878b807c994ad77177c786b7a7accb65ab9f2e024033253011fd7db3bf5bf1') + +prepare() { + chmod +x *.AppImage + ./*.AppImage --appimage-extract +} + +package() { + install -Dm755 "vulkancapsviewer_${pkgver}_linux64.AppImage" \ + "$pkgdir"/usr/bin/vulkanCapsViewer + + cd "$srcdir/squashfs-root" + install -Dm644 usr/share/applications/vulkanCapsViewer.desktop -t \ + "$pkgdir/usr/share/applications" + install -Dm644 usr/share/icons/hicolor/256x256/apps/vulkanCapsViewer.png -t \ + "$pkgdir/usr/share/icons/hicolor/256x256/apps" +} |