void-packages/srcpkgs/sway/template
Jürgen Buchmüller 9051c36403
sway: fix *-musl build
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-11-25 10:46:28 +01:00

25 lines
791 B
Bash

# Template file for 'sway'
pkgname=sway
version=0.15.2
revision=1
build_style=cmake
configure_args="-DCMAKE_INSTALL_SYSCONFDIR=/etc"
hostmakedepends="asciidoc pkg-config wayland-devel"
makedepends="gdk-pixbuf-devel json-c-devel libcap-devel pam-devel pango-devel
wlc-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=05526e3038d2a5490a64bd816f1f04d2a6c214ddc6182835312b273b40b737ae
pre_configure() {
sed -i CMakeLists.txt -e "s;-Werror;-Wno-error;"
}
post_install() {
vlicense LICENSE
# must be setuid without logind!
chmod u+s ${DESTDIR}/usr/bin/sway
}