# Contributor: Henrik Riomar # Maintainer: pkgname=sway pkgver=1.0_rc2 _pkgver=1.0-rc2 pkgrel=0 pkgdesc="i3 compatible window manager for Wayland" url="http://swaywm.org" arch="all" license="MIT" options="suid !check" depends="" makedepends="cairo-dev gdk-pixbuf-dev json-c-dev libevdev-dev libinput-dev libxkbcommon-dev linux-pam-dev meson ninja pango-dev pcre2-dev scdoc wayland-dev wayland-protocols wlroots-dev " subpackages="$pkgname-doc" source="$pkgname-$_pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$_pkgver.tar.gz " builddir="$srcdir/$pkgname-$_pkgver" build() { cd "$builddir" meson build --prefix /usr ninja -C build } package() { cd "$builddir" DESTDIR="$pkgdir" ninja -C build install chmod u+s "$pkgdir"/usr/bin/sway } sha512sums="78c93f2326952d9e56ebf38f5d6b646934230b1bf5fac50cf35f16b2c1753ffa31dd9ec874a05025ed0d1d828b9a8643c78e739abbcfba55301255b3d0ed4a3e sway-1.0-rc2.tar.gz"