summary refs log tree commit diff
path: root/x11-misc
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-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