void-packages/srcpkgs/sway/template

22 lines
687 B
Bash
Raw Normal View History

2016-04-16 18:01:54 +00:00
# Template file for 'sway'
pkgname=sway
version=0.5
revision=2
2016-04-16 18:01:54 +00:00
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
2016-04-16 18:01:54 +00:00
hostmakedepends="asciidoc pkg-config"
makedepends="wlc-devel gdk-pixbuf-devel json-c-devel pango-devel pam-devel"
conf_files="/etc/sway/config /etc/pam.d/swaylock"
2016-04-16 18:01:54 +00:00
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=1800bd21297e8af168f0c7afbf4f16fb817c8687d1451d6ecd5abba0873a2d3c
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
2016-04-16 18:01:54 +00:00
}