void-packages/srcpkgs/sway/template
2016-05-23 08:20:14 +02:00

21 lines
701 B
Bash

# Template file for 'sway'
pkgname=sway
version=0.7
revision=1
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="asciidoc pkg-config wayland-devel"
makedepends="wlc-devel gdk-pixbuf-devel json-c-devel pango-devel pam-devel"
conf_files="/etc/sway/config /etc/pam.d/swaylock"
short_desc="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=87db6506a9035b7a94f78ab0ad7dfb667c30c134917d1198d852b826c8fcf1ae
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
}