gdritter repos void-extra-packages / master srcpkgs / sway-git / template
master

Tree @master (Download .tar.gz)

template @master

dfa4b24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
# Template file for 'sway'
pkgname=sway-git
version="$(date +%F | sed 's/-//g')"
revision=1
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="asciidoc pkg-config wayland-devel git"
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="i3 compatible window manager for Wayland"
maintainer="Getty Ritter <sway-git-pkg@infinitenegativeutility.com>"
license="MIT"
homepage="http://swaywm.org"

do_fetch() {
    git clone https://github.com/SirCmpwn/sway.git ${wrksrc}
}

post_install() {
	vlicense LICENSE
	# must be setuid without logind!
	chmod u+s ${DESTDIR}/usr/bin/sway
}