diff options
author | Solomon Choina | 2024-03-12 08:05:15 -0400 |
---|---|---|
committer | Solomon Choina | 2024-03-12 08:05:15 -0400 |
commit | e0db8afd0ca9fd1dc476d86f81deeb49565a8de8 (patch) | |
tree | d315267dbafa2953e71aa7aa906ad4d2a5ce005a /PKGBUILD | |
parent | 81728c86d1d0f2069702c3ac9da3e501820c1639 (diff) | |
download | aur-libclc-git.tar.gz |
the version number has been moved to a cmake module
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ # Contributor: Laurent Carlier <lordheavym@gmail.com> # Maintainer: Solomon Choina <shlomochoina@gmail.com> pkgname=libclc-git -pkgver=18.0.0_r476723.8641cdf397d8 +pkgver=19.0.0_r492390.4e3310a8 pkgrel=1 epoch=1 groups=('chaotic-mesa-git') @@ -16,12 +16,12 @@ source=('llvm-project-git::git+https://github.com/llvm/llvm-project.git') md5sums=('SKIP') pkgver() { - cd llvm-project-git/llvm + cd llvm-project-git/cmake/Modules local _pkgver=$(awk -F 'MAJOR |MINOR |PATCH |)' \ 'BEGIN { ORS="." ; i=0 } \ /set\(LLVM_VERSION_/ { print $2 ; i++ ; if (i==2) ORS="" } \ END { print "\n" }' \ - CMakeLists.txt)_r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) + LLVMVersion.cmake)_r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) echo "${_pkgver}" } |