53 lines
1008 B
Bash
53 lines
1008 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DESCRIPTION="Dynamic Window Manager for X with preprocessor directive patching"
|
|
HOMEPAGE="https://gitea.sravanbalaji.com/sravan/dwm-flexipatch"
|
|
SRC_URI="https://gitea.sravanbalaji.com/sravan/${PN}/archive/master.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64"
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
DEPEND="
|
|
x11-libs/libX11
|
|
x11-libs/libXinerama
|
|
x11-libs/libxcb
|
|
x11-libs/xcb-util
|
|
dev-libs/yajl
|
|
dev-libs/jsoncpp
|
|
"
|
|
RDEPEND="
|
|
${DEPEND}
|
|
x11-misc/polybar-dwm-module
|
|
x11-misc/betterlockscreen
|
|
x11-misc/xss-lock
|
|
xfce-extra/xfce4-notifyd
|
|
x11-misc/rofi
|
|
x11-misc/greenclip
|
|
x11-terms/kitty
|
|
app-shells/fish
|
|
app-shells/starship
|
|
app-shells/krabby-bin
|
|
media-fonts/nerd-fonts
|
|
"
|
|
|
|
src_unpack() {
|
|
if [[ -n ${A} ]]; then
|
|
unpack ${A}
|
|
fi
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install || die "make install failed"
|
|
|
|
insinto /usr/share/xsessions
|
|
doins dwm.desktop
|
|
|
|
dodoc README.org
|
|
}
|