mirror of
https://github.com/JaKooLit/Debian-Hyprland.git
synced 2025-12-21 18:20:13 +01:00
Merge pull request #61 from JaKooLit/development
specific version download of hyprcursor
This commit is contained in:
commit
4642e11212
@ -7,6 +7,9 @@ libzip-dev
|
||||
librsvg2-dev
|
||||
)
|
||||
|
||||
#specific branch or release
|
||||
cursor_tag="v0.1.8"
|
||||
|
||||
## WARNING: DO NOT EDIT BEYOND THIS LINE IF YOU DON'T KNOW WHAT YOU ARE DOING! ##
|
||||
# Determine the directory where the script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
@ -40,7 +43,7 @@ fi
|
||||
|
||||
# Clone and build
|
||||
printf "${NOTE} Installing hyprcursor...\n"
|
||||
if git clone --recursive -b v0.1.8 https://github.com/hyprwm/hyprcursor.git; then
|
||||
if git clone --recursive -b $cursor_tag https://github.com/hyprwm/hyprcursor.git; then
|
||||
cd hyprcursor || exit 1
|
||||
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
|
||||
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user