summary refs log tree commit diff
path: root/x11-misc
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-06-16 11:33:05 +0300
committerAzat Bahawi <azahi@teknik.io>2021-06-16 11:33:07 +0300
commitf134c263b9bfe08f0a9dc4d349eb74707e44c75b (patch)
treea84a8265369afdd2ebf6ce54895cc051f641bced /x11-misc
parentx11-libs/libwm: Bump version (diff)
x11-misc/xclimsg: Follow upstream simplification
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Azat Bahawi <azahi@teknik.io>
Diffstat (limited to '')
-rw-r--r--x11-misc/xclimsg/xclimsg-9999.ebuild20
1 files 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
 }

Consider giving Nix/NixOS a try! <3