# Maintainer: Caleb Maclennan # Contributor: Aaron Blasko 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 }