testing more..
This commit is contained in:
parent
6a171ab93b
commit
18ef26e1df
1 changed files with 3 additions and 9 deletions
12
hyprlock.sh
12
hyprlock.sh
|
@ -102,7 +102,7 @@ getDependencies() {
|
|||
done
|
||||
}
|
||||
|
||||
buildGraphics() {
|
||||
buildGraphicsAndUtils() {
|
||||
echo_pkg build
|
||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||
run cmake --build ./build --config Release --target all -j"$cores"
|
||||
|
@ -122,7 +122,7 @@ cloneAndBuildGraphics() {
|
|||
git clone --depth=1 https://github.com/hyprwm/hyprgraphics.git &&
|
||||
cd hyprgraphics
|
||||
|
||||
if buildGraphics; then
|
||||
if buildGraphicsAndUtils; then
|
||||
echo_pkg install
|
||||
$_sudo cmake --install build
|
||||
else
|
||||
|
@ -131,12 +131,6 @@ cloneAndBuildGraphics() {
|
|||
fi
|
||||
}
|
||||
|
||||
buildUtils() {
|
||||
echo_pkg build "Building hyprutils"
|
||||
run cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||
run cmake --build ./build --config Release --target all -j"$cores"
|
||||
}
|
||||
|
||||
cloneAndBuildUtils() {
|
||||
PACKAGE=hyprutils
|
||||
|
||||
|
@ -155,7 +149,7 @@ cloneAndBuildUtils() {
|
|||
git clone --depth=1 https://github.com/hyprwm/hyprutils.git &&
|
||||
cd hyprutils
|
||||
|
||||
if buildUtils; then
|
||||
if buildGraphicsAndUtils; then
|
||||
echo_pkg install
|
||||
$_sudo cmake --install build
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue