Add xgetres package

- Add xgetres as dependency of dwm-flexipatch
This commit is contained in:
Sravan Balaji
2024-05-03 08:44:43 -04:00
parent 790032123d
commit 8e332dcde0
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Simple utility which prints the value of an X resource"
HOMEPAGE="https://github.com/tamirzb/xgetres"
EGIT_REPO_URI="https://github.com/tamirzb/xgetres.git"
EGIT_BRANCH="master"
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}"
EGIT_SUBMODULES=( '*' )
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
S="${WORKDIR}/${PN}"
DEPEND="
x11-libs/libX11
"
RDEPEND="
${DEPEND}
"
inherit git-r3
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" || die "make failed"
dobin xgetres
doman xgetres.1
}

View File

@ -27,6 +27,7 @@ RDEPEND="
x11-misc/betterlockscreen
x11-misc/xss-lock
x11-misc/dunst
x11-misc/xgetres
x11-apps/xkill
x11-misc/rofi
x11-misc/greenclip