void-packages/srcpkgs/sway/template

22 lines
701 B
Bash
Raw Normal View History

2016-04-16 20:01:54 +02:00
# Template file for 'sway'
pkgname=sway
2016-08-08 13:55:22 +02:00
version=0.9
2016-04-29 17:30:00 +02:00
revision=1
2016-04-16 20:01:54 +02:00
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="asciidoc pkg-config wayland-devel"
2016-04-16 20:01:54 +02:00
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 20:01:54 +02: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"
2016-08-08 13:55:22 +02:00
checksum=dc98fe5abd084dbf059fdf19b5b40e44b5c7ac75a5b704b47a6b53c9f489f42d
2016-04-16 20:01:54 +02:00
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
2016-04-16 20:01:54 +02:00
}