36 lines
590 B
Bash
36 lines
590 B
Bash
# Copyright 1999-2020 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
|
|
}
|