diff options
author | Dan R Beste | 2021-05-07 15:34:51 -0500 |
---|---|---|
committer | Dan R Beste | 2021-05-07 15:34:51 -0500 |
commit | ae1de539bafc311251a15ffe648f2c0ba4c3d080 (patch) | |
tree | ed80fbd1caf4f689cb9e184f59331fd3fe931173 | |
parent | ba4c95d4b0817ab716badeb99207b8be72b1e6dc (diff) | |
download | aur-ae1de539bafc311251a15ffe648f2c0ba4c3d080.tar.gz |
upgpkg: nim-git 11.4.6.r1304.98c29c01e-1
Updates to nim-git's PKGBUILD
- Use pinned csources_v1 hash
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -61,15 +61,23 @@ pkgver() { prepare() { cd Nim + # Upstream "pins" supported commits: + local -r hash="$(grep 'Hash' config/build_config.txt | grep -Eio '[0-9a-z]{40}')" + [[ -d ./csources_v1 ]] && rm -rf ./csources_v1 cp -r "${srcdir}/csources_v1" . + cd csources_v1 + + # Checkout the "pinned" commit: + git -c advice.detachedHead=false checkout "$hash" + # Remove hardcoded `-O3` from makefile's COMP_FLAGS: - patch ./csources_v1/makefile \ - --strip=1 \ - --fuzz 5 \ - -N \ + patch makefile \ + --strip=1 \ + --fuzz 5 \ + -N \ < "${srcdir}/makepkg-conf.patch" } |