# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=sway pkgver=1.10 pkgrel=0 pkgdesc="tiling Wayland compositor like i3" url="https://swaywm.org" arch="all" license="MIT" depends="wlroots-0.18" makedepends="cairo-dev gdk-pixbuf-dev json-c-dev meson libevdev-dev libinput-dev>=1.26.0 libxkbcommon>=1.5.0 pango-dev pcre2-dev scdoc wayland-protocols wlroots-0.18-dev" subpackages="$pkgname-doc" source="https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { meson test -C output } package() { DESTDIR="$pkgdir" meson install -C output } sha512sums="f75a80506d2dcae722ea64c47fa423b9713bcfaa6541ffc353abd413238abb9ab7c88490d54e30ef09dc003215aa6a0005e5b425c9c943f982d5ff3c7cfad440 sway-1.10.tar.gz"