diff options
author | LW-archlinux | 2019-11-14 11:35:31 +0100 |
---|---|---|
committer | LW-archlinux | 2019-11-14 11:35:31 +0100 |
commit | 1373ee5d0869b0df088ebd96c226776f91f0dec1 (patch) | |
tree | fdb9708525ae796330a4d3f214ef1d25868eb95b | |
parent | fe3ebe77bcef3d16b99ddefeda15eb4f791bc1d3 (diff) | |
download | aur-1373ee5d0869b0df088ebd96c226776f91f0dec1.tar.gz |
corrected pkgver() function
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 7 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = lib32-llvm-git pkgdesc = Collection of modular and reusable compiler and toolchain technologies (32-bit, git) - pkgver = 10.0.0_r330903.81cc5d1c7d3 + pkgver = 10.0.0_r331809.a2f6ae9abff pkgrel = 1 url = https://llvm.org/ arch = x86_64 @@ -22,8 +22,8 @@ pkgname = lib32-llvm-git depends = lib32-llvm-libs-git depends = llvm-git provides = aur-lib32-llvm-git - provides = lib32-llvm=10.0.0_r330903.81cc5d1c7d3-1 - provides = lib32-clang=10.0.0_r330903.81cc5d1c7d3-1 + provides = lib32-llvm=10.0.0_r331809.a2f6ae9abff-1 + provides = lib32-clang=10.0.0_r331809.a2f6ae9abff-1 provides = lib32-clang-git provides = lib32-clang-svn provides = lib32-llvm-svn @@ -39,7 +39,7 @@ pkgname = lib32-llvm-libs-git depends = lib32-ncurses depends = lib32-zlib provides = aur-lib32-llvm-libs-git - provides = lib32-llvm-libs=10.0.0_r330903.81cc5d1c7d3-1 + provides = lib32-llvm-libs=10.0.0_r331809.a2f6ae9abff-1 provides = lib32-llvm-libs-svn conflicts = lib32-llvm-libs @@ -13,7 +13,7 @@ pkgbase=lib32-llvm-git pkgname=(lib32-llvm-git lib32-llvm-libs-git) pkgdesc="Collection of modular and reusable compiler and toolchain technologies (32-bit, git)" -pkgver=10.0.0_r330903.81cc5d1c7d3 +pkgver=10.0.0_r331809.a2f6ae9abff pkgrel=1 arch=('x86_64') url='https://llvm.org/' @@ -30,7 +30,7 @@ pkgver() { # This will almost match the output of `llvm-config --version` when the # LLVM_APPEND_VC_REV cmake flag is turned on. The only difference is # dash being replaced with underscore because of Pacman requirements. - local _pkgver=$(awk -F 'MAJOR |MINOR |PATCH |SUFFIX |)' \ + local _pkgver=$(awk -F 'MAJOR |MINOR |PATCH |)' \ 'BEGIN { ORS="." ; i=0 } \ /set\(LLVM_VERSION_/ { print $2 ; i++ ; if (i==2) ORS="" } \ END { print "\n" }' \ @@ -38,6 +38,7 @@ pkgver() { echo "${_pkgver//svn}" } + prepare() { # Somehow CMake finds the 64-bit library in /lib first, # so let's preseed CMAKE_LIBRARY_PATH with /lib32. |