x11-misc/dwmblocks: add ebuild

This commit is contained in:
odrling 2020-04-21 03:22:06 +02:00
parent 525e1b01c0
commit edc158368a
2 changed files with 42 additions and 0 deletions

View file

@ -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
}

View file

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>florianbadie@odrling.xyz</email>
</maintainer>
</pkgmetadata>