[arch-commits] Commit in (5 files)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Fri Mar 18 20:33:33 UTC 2022


    Date: Friday, March 18, 2022 @ 20:33:33
  Author: svenstaro
Revision: 1159105

Add vkmark

Added:
  vkmark/
  vkmark/trunk/
  vkmark/trunk/PKGBUILD
  vkmark/trunk/trunk/
  vkmark/trunk/vkmark/

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: vkmark/trunk/PKGBUILD
===================================================================
--- vkmark/trunk/PKGBUILD	                        (rev 0)
+++ vkmark/trunk/PKGBUILD	2022-03-18 20:33:33 UTC (rev 1159105)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase
+pkgname=vkmark
+pkgdesc='Vulkan benchmark'
+pkgver=20220318
+pkgrel=1
+url='https://github.com/vkmark/vkmark'
+arch=('x86_64')
+license=('LGPL')
+depends=('vulkan-icd-loader' 'assimp')
+makedepends=('git' 'vulkan-headers' 'meson' 'ninja' 'glm' 'wayland-protocols' 'xorgproto' 'xcb-util-wm' 'wayland')
+optdepends=('xcb-util-wm: for X11 support'
+            'wayland: for Wayland support')
+source=(git+https://github.com/vkmark/vkmark.git#commit=cf45f2f
+        https://patch-diff.githubusercontent.com/raw/vkmark/vkmark/pull/38.patch)
+sha1sums=('SKIP'
+          'f189da9cccaff8526ee1a9f03388be333d1fa434')
+
+prepare() {
+  cd vkmark
+  patch -Np1 -i "${srcdir}"/38.patch
+}
+
+build() {
+  cd vkmark
+
+  meson --prefix=/usr build
+  ninja -C build
+}
+
+package() {
+  cd vkmark
+  DESTDIR="$pkgdir" ninja -C build install
+  # rm -rf "$pkgdir"/usr/local/share/man
+}
+



More information about the arch-commits mailing list