new bblfs: gui-libs/hyprutils-0.8.4

This commit is contained in:
2026-01-08 09:56:51 -05:00
parent 4f1ee24507
commit ff6ce2c2a3

View File

@@ -0,0 +1,32 @@
pkgname=hyprutils
pkgver=0.8.4
pkgdesc='Hyprland utilities library used across the ecosystem'
arch=(x86_64)
homepage="https://github.com/hyprwm/$pkgname"
license=(BSD-3-Clause)
depends=(pixman)
makedepends=(cmake)
sources=("${pkgname}-${pkgver}.tar.gz")
urls=("https://github.com/hyprwm/hyprutils/archive/refs/tags/v${pkgver}/v${pkgver}.tar.gz")
md5sums=("bd1b7f8c646e4cebddf9bbf25b22089a")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
local cmake_args=(
-D CMAKE_BUILD_TYPE=Release
-D CMAKE_INSTALL_PREFIX=/usr
-D BUILD_TESTING=False
)
cmake -W no-dev ${cmake_args[@]} -B ./build
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: