forked from void-linux/void-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
# Template file for 'hyprcursor' | ||
pkgname=hyprcursor | ||
version=0.1.4 | ||
version=0.1.5 | ||
revision=1 | ||
build_style=cmake | ||
hostmakedepends="pkg-config cairo-devel" | ||
makedepends="hyprlang librsvg-devel libzip-devel" | ||
hostmakedepends="pkg-config cairo-devel gcc hyprlang" | ||
makedepends="glibc-devel librsvg-devel libzip-devel" | ||
depends="cairo glibc hyprlang libgcc librsvg libstdc++ libzip" | ||
#checkdepends="" | ||
short_desc="Hyprland cursor format, library and utilities" | ||
maintainer="zenobit <[email protected]>" | ||
license="BSD-3-Clause" | ||
homepage="https://github.com/hyprwm/hyprcursor" | ||
distfiles="https://github.com/hyprwm/hyprcursor/archive/refs/tags/v${version}.tar.gz" | ||
checksum=082c7866a8139993be0c476873dafea357bb579c8d1839280be6bfdef3177193 | ||
checksum=3958b0d7b80bcabca1c46841016c7354afc3cbcbf86b785b7b6289524cb5ec5c | ||
|
||
do_build() { | ||
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) | ||
} | ||
|
||
do_install() { | ||
cmake --install build | ||
} | ||
|
||
post_install() { | ||
vlicense LICENSE | ||
|