diff options
| author | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-07 20:57:38 +0200 |
|---|---|---|
| committer | Nippy <nippy@Beller-Mac-mini.lan> | 2026-09-07 20:58:08 +0200 |
| commit | af1fec2d111fb30d135025d99a2822e23f1d016a (patch) | |
| tree | c19ad6e85ed73433493109e99e23f7c57fbfab8a /hyprland-raveos/hyprutils | |
| parent | 5f575b0fa752d9086441e6203f8e5633713026f5 (diff) | |
| download | RaveOS-PKGBUILD-af1fec2d111fb30d135025d99a2822e23f1d016a.tar.gz RaveOS-PKGBUILD-af1fec2d111fb30d135025d99a2822e23f1d016a.zip | |
hyperland-fix
Diffstat (limited to 'hyprland-raveos/hyprutils')
| -rw-r--r-- | hyprland-raveos/hyprutils/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/hyprland-raveos/hyprutils/PKGBUILD b/hyprland-raveos/hyprutils/PKGBUILD new file mode 100644 index 0000000..adb0efb --- /dev/null +++ b/hyprland-raveos/hyprutils/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> +# Maintainer: Lukas Fleischer <lfleischer@archlinux.org> +# Contributor: alba4k <blaskoazzolaaaron@gmail.com> + +pkgname=hyprutils +pkgver=0.14.2 +pkgrel=10 +pkgdesc='Hyprland utilities library used across the ecosystem' +arch=(x86_64) +url="https://github.com/hyprwm/$pkgname" +license=(BSD-3-Clause) +depends=(pixman libpixman-1.so) +makedepends=(cmake) +# checkdepends=(gtest) +provides=(libhyprutils.so) +_archive="$pkgname-$pkgver" +source=("$url/archive/v$pkgver/$_archive.tar.gz") +sha256sums=('2061b7b08c8104fb02a609553b28f6c8580e5ec38633015845f1c4553980175b') + +build() { + cd "$_archive" + local cmake_options=( + -D CMAKE_BUILD_TYPE=Release + -D CMAKE_INSTALL_PREFIX=/usr + -D BUILD_TESTING=False + ) + cmake -W no-dev ${cmake_options[@]} -S . -B ./build + cmake --build build +} + +package() { + cd "$_archive" + DESTDIR="$pkgdir" cmake --install build + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE +} |