diff options
-rwxr-xr-x | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,7 @@ #!/hint/bash #shellcheck disable=SC2034 -# Maintainer: pingplug <pingplug@foxmail.com> +# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com> +# Contributor: pingplug <pingplug@foxmail.com> # Contributor: cornholio <vigo.the.unholy.carpathian@gmail.com> ##### Configuration Options @@ -54,6 +55,12 @@ prepare() { ) fi fi + + # Unset CMAKE_INSTALL_PREFIX preserve default install path + if [ -v CMAKE_INSTALL_PREFIX ] ; then + msg "You have CMAKE_INSTALL_PREFIX set to \"$CMAKE_INSTALL_PREFIX\". We have to clear it to preserve magma default install path" + unset CMAKE_INSTALL_PREFIX + fi } build() { |