# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit git-r3 toolchain-funcs DESCRIPTION="A simple feature-rich dynamic tiling window manager" HOMEPAGE="https://github.com/uint23/sxwm" EGIT_REPO_URI="https://github.com/uint23/sxwm.git" LICENSE="GPL-3" SLOT="0" KEYWORDS="" DEPEND=" x11-libs/libX11 x11-libs/libXinerama x11-libs/libXcursor " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { tc-export CC emake } src_install() { emake DESTDIR="${D}" PREFIX="/usr" install insinto /usr/share/xsessions doins "${FILESDIR}/sxwm.desktop" } pkg_postinst() { elog "Configuration for SXWM must have to go into '~/.config/sxwm/' folder" elog "but if you don't have folder with config, make one:" elog " 'mkdir -p ~/.config/sxwm/' " elog "and copy it's configuration" elog " 'cp /usr/share/sxwmrc ~/.config/sxwm/' " }