[arch-commits] Commit in vkmark (3 files)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Fri Mar 18 20:59:23 UTC 2022
Date: Friday, March 18, 2022 @ 20:59:23
Author: svenstaro
Revision: 1159154
archrelease: copy trunk to community-x86_64
Added:
vkmark/repos/
vkmark/repos/community-x86_64/
vkmark/repos/community-x86_64/PKGBUILD
(from rev 1159152, vkmark/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: vkmark/repos/community-x86_64/PKGBUILD (from rev 1159152, vkmark/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2022-03-18 20:59:23 UTC (rev 1159154)
@@ -0,0 +1,34 @@
+# 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' 'wayland-protocols' 'glm' 'xcb-util-wm'
+ 'xorgproto' 'wayland')
+optdepends=('xcb-util-wm: for X11 support'
+ 'wayland: for Wayland support')
+source=(git+https://github.com/vkmark/vkmark.git#commit=cf45f2f
+ $pkgname-38.patch::https://patch-diff.githubusercontent.com/raw/vkmark/vkmark/pull/38.patch)
+sha1sums=('SKIP'
+ 'f189da9cccaff8526ee1a9f03388be333d1fa434')
+
+prepare() {
+ cd vkmark
+ patch -Np1 -i "${srcdir}"/$pkgname-38.patch
+}
+
+build() {
+ cd vkmark
+ meson --prefix=/usr build
+ ninja -C build
+}
+
+package() {
+ cd vkmark
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
More information about the arch-commits
mailing list