patlefort

vkquake2 aur fix

Oct 20th, 2025
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | Source Code | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 3551958..232bed5 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -8,7 +8,7 @@ pkgdesc="id Software's Quake 2 v3.21 with Vulkan support"
  6.  arch=(i686 x86_64)
  7.  url="https://github.com/kondrak/vkQuake2"
  8.  license=(GPL2)
  9. -depends=(alsa-lib libxxf86dga xdg-utils opengl-driver)
  10. +depends=(alsa-lib libxxf86dga xdg-utils opengl-driver vulkan-icd-loader)
  11.  makedepends=(vulkan-headers glu)
  12.  install="$pkgname.install"
  13.  source=("https://github.com/kondrak/$_remote/archive/$pkgver.tar.gz"
  14. @@ -24,6 +24,7 @@ _build=release #unset for debug
  15.  prepare() {
  16.      cd "$srcdir/$_remote-$pkgver"
  17.      patch -Np1 -i ../ref_vk.patch
  18. +    sed -i '/XCFLAGS=/a RELEASE_CFLAGS=$(BASE_CFLAGS) $(CFLAGS) $(LDFLAGS) -std=c17' 'linux/Makefile'
  19.  }
  20.  
  21.  build() {
Add Comment
Please, Sign In to add comment