Package-Manager: Portage-2.3.99, Repoman-2.3.22
Bug: https://bugs.gentoo.org/706654
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit cmake-utils eutils
+EAPI=7
+inherit cmake
DESCRIPTION="Window Manager From Scratch, A tiling window manager highly configurable"
HOMEPAGE="https://github.com/xorg62/wmfs"
"${FILESDIR}"/${PN}-201003-pthread.patch
)
+src_prepare() {
+ cmake_src_prepare
+ sed -i \
+ -e '/set(CFLAGS/d' \
+ -e '/set(LDFLAGS/s#)# ${LDFLAGS}&#' \
+ CMakeLists.txt || die
+}
+
src_install() {
- cmake-utils_src_install
+ cmake_src_install
rm -r "${D}"/usr/share/${PN}
+ find "${D}"/usr/share/man -name '*.gz' -exec gunzip {} \; || die
dodoc README TODO rc/status.sh
}