diff options
author | archdevlab | 2024-01-31 21:27:49 -0500 |
---|---|---|
committer | archdevlab | 2024-01-31 21:27:49 -0500 |
commit | 46bb0257b60d3ea13ce2dc7ae5e79a593cd36eef (patch) | |
tree | c097d1f0baca4959f8d997f07190f9299b1bfe3f /PKGBUILD | |
parent | 67079902c2b03b3084f9f826b6b99cb41626dd5f (diff) | |
download | aur-46bb0257b60d3ea13ce2dc7ae5e79a593cd36eef.tar.gz |
fix and update pkgver func
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -17,8 +17,7 @@ source=(git+https://github.com/KhronosGroup/Vulkan-Loader.git) pkgver(){ cd "${srcdir}"/Vulkan-Loader - # cutting off 'foo-' prefix that presents in the git tag - git describe --long --tags --abbrev=7 --exclude sdk-* --exclude vulkan-* | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' + git describe --long --tags --abbrev=7 --match='v*' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build(){ @@ -39,7 +38,7 @@ build(){ -D BUILD_WSI_XCB_SUPPORT=ON \ -D BUILD_WSI_XLIB_SUPPORT=ON \ -D BUILD_WSI_WAYLAND_SUPPORT=ON \ - -D BUILD_WSI_DIRECTFB_SUPPORT=ON \ + -D BUILD_WSI_DIRECTFB_SUPPORT=OFF \ -Wno-dev make -j$(nproc) -C "${srcdir}"/build |