void-packages/srcpkgs/sway/template

22 lines
720 B
Bash

# Template file for 'sway'
pkgname=sway
version=0.14.0
revision=1
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="asciidoc pkg-config wayland-devel"
makedepends="libcap-devel wlc-devel gdk-pixbuf-devel json-c-devel pango-devel pam-devel"
conf_files="/etc/sway/config /etc/pam.d/swaylock"
short_desc="An i3-compatible window manager for Wayland"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://swaywm.org"
distfiles="https://github.com/SirCmpwn/sway/archive/${version}.tar.gz"
checksum=e63efee81cd3952ee00c7bd379cf90b065530b03423f593895584aa51e9c7f1b
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
}