new bblfs: gui-libs/hyprcursor-0.1.12

This commit is contained in:
2026-01-08 16:25:52 -05:00
parent 965e87dc74
commit c18c96ef93

View File

@@ -0,0 +1,36 @@
pkgname=hyprcursor
pkgver=0.1.12
pkgdesc='The hyprland cursor format, library and utilities'
arch=(x86_64 aarch64)
homepage="https://github.com/hyprwm/$pkgname"
license=(BSD-3-Clause)
depends=(cairo
gcc
glibc
hyprlang
librsvg
libzip
tomlplusplus
)
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/hyprwm/${pkgname}/archive/v${pkgver}.tar.gz")
md5sums=("524d7ff3aa1c97924414b207416c1c32")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release
cmake --build build
}
src_install() {
DESTDIR="$pkgdir" cmake --install build
install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
# vim:ft=sh syn=sh et sw=2: