diff options
author | archdevlab | 2024-01-31 21:29:03 -0500 |
---|---|---|
committer | archdevlab | 2024-01-31 21:29:03 -0500 |
commit | f337457a3b7438f70818facf84a7671d9a0a3c64 (patch) | |
tree | 0f21a2b33c76b094458342c6c1fe473f9eab8567 | |
parent | 7c42eb9aae489e244f489caef41f76e682633048 (diff) | |
download | aur-f337457a3b7438f70818facf84a7671d9a0a3c64.tar.gz |
fix and update pkgver func
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 1 insertions, 2 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(){ |