1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 # Contributor: Adrian Perez de Castro <aperez@igalia.com>
3 pkgdesc='Client-side decorations library for Wayland clients'
7 url="https://gitlab.gnome.org/jadahl/libdecor"
10 depends=('wayland' 'pango' 'dbus')
11 makedepends=('cmake' 'ninja' 'meson' 'wayland-protocols')
12 source=("https://gitlab.gnome.org/jadahl/libdecor/-/archive/${pkgver}/libdecor-${pkgver}.tar.gz")
13 sha512sums=('40b1e355f28d4b18ce35b1c096592c81015a1fd4b2db0f3d58f14825388f6614e6dd28efa0368b7c133e094f6aca9db6a7a27dbd4ffdd349b5e8d7619fd3e0be')
16 arch-meson -Ddemo=false build "${pkgname}-${pkgver}"
17 meson compile -C build
21 meson install -C build --destdir "${pkgdir}"
22 install -Dm644 "${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"