summaryrefslogtreecommitdiff
path: root/hyprland-raveos/hyprlang
diff options
context:
space:
mode:
Diffstat (limited to 'hyprland-raveos/hyprlang')
-rw-r--r--hyprland-raveos/hyprlang/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/hyprland-raveos/hyprlang/PKGBUILD b/hyprland-raveos/hyprlang/PKGBUILD
new file mode 100644
index 0000000..2d5e25f
--- /dev/null
+++ b/hyprland-raveos/hyprlang/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+
+pkgname=hyprlang
+pkgver=0.6.8
+pkgrel=10
+pkgdesc='implementation library for the hypr config language'
+arch=(x86_64 aarch64)
+url="https://github.com/hyprwm/$pkgname"
+license=(BSD-3-Clause)
+depends=(libgcc
+ 'libstdc++'
+ glibc
+ hyprutils libhyprutils.so)
+makedepends=(cmake)
+provides=("lib$pkgname.so")
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('d10a0778b646e04d83e8b90cc0f764fb96958c01a15c3c0678d95a40fc647ed5')
+
+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
+}