guru/gui-apps/someblocks/someblocks-1.0.0.ebuild
Julien Roy 3d25d4048d
*/*: remove empty global variable assigment
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-03-21 18:34:41 -04:00

33 lines
627 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit savedconfig
DESCRIPTION="Modular status bar for somebar written in c."
HOMEPAGE="https://git.sr.ht/~raphi/someblocks"
SRC_URI="https://git.sr.ht/~raphi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${DEPEND}"
src_prepare() {
default
sed -i -e 's:$(LDFLAGS):$(CPPFLAGS) $(CFLAGS) $(LDFLAGS):' Makefile \
|| die "sed fix failed. Uh-oh..."
restore_config blocks.h
}
src_install() {
emake PREFIX="${ED}/usr" install
einstalldocs
save_config blocks.h
}