beb6afeba5
If enabled the sway binary does not need to be setuid. Signed-off-by: Juan RP <xtraeme@gmail.com>
25 lines
795 B
Bash
25 lines
795 B
Bash
# Template file for 'sway'
|
|
pkgname=sway
|
|
version=1.0
|
|
revision=2
|
|
build_style=meson
|
|
conf_files="/etc/sway/config"
|
|
hostmakedepends="pkg-config wayland-devel scdoc git"
|
|
makedepends="wlroots-devel wayland-devel wayland-protocols pcre-devel
|
|
json-c-devel pango-devel cairo-devel gdk-pixbuf-devel"
|
|
depends="xorg-server-xwayland"
|
|
short_desc="Tiling Wayland compositor compatible with i3"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://swaywm.org"
|
|
distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=24dafd0f1e630e97a5dd47233841adf856b665e2321d6207acfe6b3002d1bc56
|
|
build_options="elogind"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
if [ -z "$build_option_elogind" ]; then
|
|
# must be setuid without logind!
|
|
chmod u+s ${DESTDIR}/usr/bin/sway
|
|
fi
|
|
}
|