diff options
author | Karel Kočí <cynerd@email.cz> | 2020-03-22 11:41:15 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-03-22 11:41:15 +0100 |
commit | cae5fb956726e99e723ada12b98293ccf4497af5 (patch) | |
tree | 2d0f1df48add1bbaa7bc3b17014f172392f83f0e /x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild | |
parent | c8379a8b3f272e547e8619a342b5501d7b74f52d (diff) | |
download | gentoo-personal-overlay-cae5fb956726e99e723ada12b98293ccf4497af5.tar.gz gentoo-personal-overlay-cae5fb956726e99e723ada12b98293ccf4497af5.tar.bz2 gentoo-personal-overlay-cae5fb956726e99e723ada12b98293ccf4497af5.zip |
x11-misc/i3blocks: add missing dependency
Diffstat (limited to 'x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild')
-rw-r--r-- | x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild new file mode 100644 index 0000000..c6ac6ba --- /dev/null +++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="highly flexible status line for the i3 window manager" +HOMEPAGE="https://github.com/vivien/i3blocks-contrib" +GIT_HASH="45e56799298f04ccaaab7db69b3674667f990ed8" +SRC_URI="https://github.com/vivien/${PN}/archive/${GIT_HASH}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND="app-admin/sysstat" +DEPEND="${DEPEND}" +BDEPEND="" + +src_unpack() { + default + mv ${PN}-* "${S}" +} + +src_prepare() { + default + sed -i 's#PREFIX = .*#PREFIX = /usr#' Makefile +} + +src_install() { + emake -j1 DESTDIR="${D}" install +} |