summaryrefslogtreecommitdiff
path: root/hyprland-raveos/aquamarine/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'hyprland-raveos/aquamarine/PKGBUILD')
-rw-r--r--hyprland-raveos/aquamarine/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/hyprland-raveos/aquamarine/PKGBUILD b/hyprland-raveos/aquamarine/PKGBUILD
new file mode 100644
index 0000000..4a513b7
--- /dev/null
+++ b/hyprland-raveos/aquamarine/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Aaron Blasko <blaskoazzolaaaron [at] gmail.com>
+
+pkgname=aquamarine
+pkgver=0.15.0
+pkgrel=10
+pkgdesc='a very light linux rendering backend library'
+arch=(x86_64 aarch64)
+url="https://github.com/hyprwm/$pkgname"
+license=(BSD-3-Clause)
+depends=(libgcc
+ libstdc++
+ glibc # libc.so libm.so
+ hyprutils libhyprutils.so
+ libdisplay-info libdisplay-info.so
+ libdrm # libdrm.so
+ libglvnd libEGL.so
+ libinput # libinput.so
+ mesa # libgbm.so
+ opengl-driver
+ pixman
+ seatd libseat.so
+ systemd-libs libudev.so
+ wayland libwayland-client.so
+ wayland-protocols)
+makedepends=(cmake
+ hyprwayland-scanner)
+provides=("lib$pkgname.so")
+_archive="$pkgname-$pkgver"
+source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('bb5323f58cd2f379cb11c39893336e49980fe2e9fb101745addd87cebde3d13d')
+
+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
+}