diff options
author | Xenhat Hex | 2021-11-09 17:34:10 -0500 |
---|---|---|
committer | Xenhat Hex | 2021-11-09 17:34:10 -0500 |
commit | d8c7ef8475232052d10fe778944ed82e74dd5afc (patch) | |
tree | c2b8ec6e6d18444d435876fac9eef4bc07d0452c /PKGBUILD | |
parent | 6cbac57471eaeb62f99b88cb6e860ccdefbf3e3c (diff) | |
download | aur-d8c7ef8475232052d10fe778944ed82e74dd5afc.tar.gz |
Fix configure step when autobuild isn't present system-wide
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -47,6 +47,10 @@ prepare() { git checkout main git pull --autostash git checkout "origin/${_branch}" +} + +build() { + cd "$pkgname" || exit 1 virtualenv ".venv" -p python3 source ".venv/bin/activate" if command -v autobuild; then @@ -57,11 +61,6 @@ prepare() { pip3 uninstall --yes autobuild fi fi -} - -build() { - cd "$pkgname" || exit 1 - pip3 install --upgrade autobuild -i https://git.alchemyviewer.org/api/v4/projects/54/packages/pypi/simple --extra-index-url https://pypi.org/simple autobuild configure -A 64 -c ReleaseOS -- -DLL_TESTS:BOOL=OFF -DDISABLE_FATAL_WARNINGS=ON -DUSE_LTO:BOOL=ON -DVIEWER_CHANNEL="Alchemy Test" |