summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2016-06-11 13:05:35 +0100
committerEric Engestrom2016-06-11 13:05:35 +0100
commit055f925abb7922fd972c1ac9aa3c20bd4e25b4a1 (patch)
treeb4cca157cdafafab773c84166b8ec2a4ab9700f5
parent396c6e5a5b249f122883b57721ad5de3b8737f07 (diff)
downloadaur-055f925abb7922fd972c1ac9aa3c20bd4e25b4a1.tar.gz
add desktop shortcut and missing dependency
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD12
-rw-r--r--vulkan-caps-viewer.desktop10
3 files changed, 24 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55bd508f137..25f95300497 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,14 @@
pkgbase = vulkan-caps-viewer
pkgdesc = Vulkan Hardware Capability Viewer
pkgver = 1.1
- pkgrel = 1
+ pkgrel = 2
url = http://vulkan.gpuinfo.org/
arch = x86_64
license = GPL2
depends = vulkan-icd-loader
+ depends = qt5-base
+ source = vulkan-caps-viewer.desktop
+ sha1sums = 7ccdb4b4487b43bb428c32994092c00ca14f594a
source_x86_64 = http://vulkan.gpuinfo.org/downloads/vulkancapsviewer_1_1_linux64.tar.gz
sha1sums_x86_64 = 971bb05dcce1229d43112955243d9358a78ae1b3
diff --git a/PKGBUILD b/PKGBUILD
index 63d1cd80edd..c0182137ddd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,25 @@
pkgname=vulkan-caps-viewer
pkgver=1.1
-pkgrel=1
+pkgrel=2
pkgdesc='Vulkan Hardware Capability Viewer'
url='http://vulkan.gpuinfo.org/'
arch=('x86_64')
license=('GPL2')
+source=('vulkan-caps-viewer.desktop')
+sha1sums=('7ccdb4b4487b43bb428c32994092c00ca14f594a')
source_x86_64=("http://vulkan.gpuinfo.org/downloads/vulkancapsviewer_${pkgver//./_}_linux64.tar.gz")
sha1sums_x86_64=('971bb05dcce1229d43112955243d9358a78ae1b3')
-depends=('vulkan-icd-loader')
+depends=('vulkan-icd-loader' 'qt5-base')
package() {
cd "${srcdir}"/vulkancapsviewer_${pkgver//./_}_linux64
+
+ # App
install -dm755 "${pkgdir}"/usr/bin
install -m755 vulkanCapsViewer "${pkgdir}"/usr/bin
+
+ # Desktop shortcut
+ install -Dm644 vulkan-caps-viewer.desktop "$pkgdir/usr/share/applications/vulkan-caps-viewer.desktop"
+ install -Dm644 gfx/android_icon_256.png "$pkgdir/usr/share/icons/vulkan-caps-viewer.png"
}
diff --git a/vulkan-caps-viewer.desktop b/vulkan-caps-viewer.desktop
new file mode 100644
index 00000000000..8ecf50b9a1c
--- /dev/null
+++ b/vulkan-caps-viewer.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=Application
+Name=Vulkan Caps Viewer
+Comment=Vulkan Hardware Capability Viewer
+Exec=vulkanCapsViewer
+Icon=vulkanCapsViewer
+Terminal=false
+StartupNotify=false
+Categories=Application;Graphics;Development;