gui-apps/someblocks: add 1.0.1

Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr>
This commit is contained in:
Efe İzbudak
2023-02-16 13:05:29 -05:00
parent 990ab5e40a
commit 65d39ad4b9
2 changed files with 35 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST someblocks-1.0.0.tar.gz 3967 BLAKE2B ab9c9ac97074c77dc17440fb3b628707ed51256a7d812b0ab8411a20029ebb48ae0092421f096e6c21f3e072c472e9863eec99ebbc6e809cb26de1638ef27520 SHA512 c7e0d77df2094d4bfe7ab616e848073d7bae06d9b3788574bc1b942469a618f4cb4cffebff7d5aabc014068d2350c08c3f83e41f9de0c0cc5ae1f3bf1ef10e8a
DIST someblocks-1.0.1.tar.gz 4104 BLAKE2B 198f0d6eac7f09393900e305fda0d291bf2c95f3c47bee604f14007b04d9da65909ff4f30e40fe74484e62967d369ecbbe75ffc4d8de2f8210fb386c124b7911 SHA512 a2c5a37bbc699a61fc53a7bb15d8bff27d0e56d8bf132dd3afca2c30c88fb931c2dd74ffad738b9adbcf838b5ab6d6fedc379850ab99836dc9a642af649c2a1f

View File

@@ -0,0 +1,34 @@
# 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"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
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
}