From edc158368a7cf5061bcf4f296fce4d5a24d48267 Mon Sep 17 00:00:00 2001 From: odrling Date: Tue, 21 Apr 2020 03:22:06 +0200 Subject: [PATCH] x11-misc/dwmblocks: add ebuild --- x11-misc/dwmblocks/dwmblocks-9999.ebuild | 35 ++++++++++++++++++++++++ x11-misc/dwmblocks/metadata.xml | 7 +++++ 2 files changed, 42 insertions(+) create mode 100644 x11-misc/dwmblocks/dwmblocks-9999.ebuild create mode 100644 x11-misc/dwmblocks/metadata.xml diff --git a/x11-misc/dwmblocks/dwmblocks-9999.ebuild b/x11-misc/dwmblocks/dwmblocks-9999.ebuild new file mode 100644 index 0000000..53e1d42 --- /dev/null +++ b/x11-misc/dwmblocks/dwmblocks-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit git-r3 savedconfig + +DESCRIPTION="Modular status bar for dwm" +HOMEPAGE="https://github.com/torrinfail/dwmblocks" +EGIT_REPO_URI="https://git.odrling.xyz/odrling/dwmblocks.git" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="" +IUSE="" + +RDEPEND=" + x11-libs/libX11 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto +" +PATCHES=() + +src_prepare() { + default + + restore_config blocks.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + + save_config blocks.h +} diff --git a/x11-misc/dwmblocks/metadata.xml b/x11-misc/dwmblocks/metadata.xml new file mode 100644 index 0000000..d0ff381 --- /dev/null +++ b/x11-misc/dwmblocks/metadata.xml @@ -0,0 +1,7 @@ + + + + + florianbadie@odrling.xyz + +