gui-apps/someblocks - 9999 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/someblocks-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/someblocks-9999

Or alternatively:

emerge --autounmask-write -a =gui-apps/someblocks-9999

Package Information

Description:
Modular status bar for somebar written in c.
Homepage:
https://git.sr.ht/~raphi/someblocks
License:
ISC

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit savedconfig git-r3

DESCRIPTION="Modular status bar for somebar written in c."
HOMEPAGE="https://git.sr.ht/~raphi/someblocks"
EGIT_REPO_URI="https://git.sr.ht/~raphi/someblocks"

LICENSE="ISC"
SLOT="0"

RDEPEND="${DEPEND}"

src_prepare() {
	default
	sed -i -e 's:$(LDFLAGS):$(CPPFLAGS) $(CFLAGS) $(LDFLAGS):' Makefile \
		|| die "sed fix failed. Uh-oh..."
	# prevent compilation in install phase
	sed -i -e "s/install: output/install:/g" Makefile || die
	restore_config blocks.h
}

src_install() {
	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install

	einstalldocs

	save_config blocks.h
}

Inherited Eclasses