Update x11-wm/cwm to 7.8.1.1

This commit is contained in:
cælōrum spectātrīx 2026-01-28 16:46:41 +01:00
parent a06232b547
commit 80e6420b45

View file

@ -0,0 +1,43 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop toolchain-funcs
DESCRIPTION="Linux port of the OpenBSD calm window manager"
HOMEPAGE="https://git.linuxposting.xyz/afiw/cwm"
SRC_URI="https://git.linuxposting.xyz/afiw/cwm/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/libbsd
x11-libs/libX11
x11-libs/libXft
x11-libs/libXrandr
"
DEPEND="${RDEPEND}"
BDEPEND="
app-alternatives/yacc
virtual/pkgconfig
"
S="${WORKDIR}/${PN}"
src_compile() {
emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
dobin cwm
doman cwm.1
doman cwmrc.5
make_session_desktop ${PN} ${PN}
}
pkg_postinst() {
einfo 'The default location of the configuration file has changed, see cwmrc(5)'
}