summaryrefslogtreecommitdiff
path: root/hyprland-raveos/hyprcursor
diff options
context:
space:
mode:
Diffstat (limited to 'hyprland-raveos/hyprcursor')
-rw-r--r--hyprland-raveos/hyprcursor/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/hyprland-raveos/hyprcursor/PKGBUILD b/hyprland-raveos/hyprcursor/PKGBUILD
new file mode 100644
index 0000000..713e91b
--- /dev/null
+++ b/hyprland-raveos/hyprcursor/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+pkgname=hyprcursor
+pkgver=0.1.13
+pkgrel=10
+pkgdesc='The hyprland cursor format, library and utilities'
+arch=(x86_64 aarch64)
+url="https://github.com/hyprwm/$pkgname"
+license=(BSD-3-Clause)
+depends=(cairo # libcairo.so
+ libgcc # libgcc_s.so
+ 'libstdc++' # libstdc++.so
+ glibc # libc.so libm.so
+ hyprlang libhyprlang.so
+ librsvg librsvg-2.so
+ libzip libzip.so
+ tomlplusplus libtomlplusplus.so)
+makedepends=(cmake)
+provides=("lib$pkgname.so")
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('82af8b2ce27242ffdd6baebaa71b3f6c8665dc25c52bfcfccc16912622896af8')
+
+build() {
+ cd "$_archive"
+ cmake -B build \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_BUILD_TYPE=Release
+ cmake --build build
+}
+
+package() {
+ cd "$_archive"
+ DESTDIR="$pkgdir" cmake --install build
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}