void-packages/srcpkgs/sway/template
2018-02-28 11:42:26 +00:00

21 lines
720 B
Bash

# Template file for 'sway'
pkgname=sway
version=0.15.1
revision=2
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=b4305581587b1072f5cb61387230aaf731ea9ea0d01fdf198856a757e2195149
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
}