From f134c263b9bfe08f0a9dc4d349eb74707e44c75b Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 16 Jun 2021 11:33:05 +0300 Subject: x11-misc/xclimsg: Follow upstream simplification Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Azat Bahawi --- x11-misc/xclimsg/xclimsg-9999.ebuild | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/x11-misc/xclimsg/xclimsg-9999.ebuild b/x11-misc/xclimsg/xclimsg-9999.ebuild index 0c85259..146760d 100644 --- a/x11-misc/xclimsg/xclimsg-9999.ebuild +++ b/x11-misc/xclimsg/xclimsg-9999.ebuild @@ -29,27 +29,13 @@ DEPEND="x11-libs/libX11" RDEPEND="${DEPEND}" BDEPEND="" -DOCS=( - README -) - -src_prepare() { - sed -e '/^CPPFLAGS/d' \ - -e 's/FLAGS =/FLAGS +=/g' \ - -i config.mk || die - - default -} +DOCS=( README ) src_compile() { - emake \ - CC="$(tc-getCC)" + $(tc-getCC) -o ${PN} ${PN}.c -lX11 } src_install() { - emake install \ - DESTDIR="${D}" \ - PREFIX="${EPREFIX}/usr" - + dobin ${PN} einstalldocs } -- cgit 1.4.1