From 7b7fd7ba9d048d449719aebc45b1a0baa3e61263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 12 Mar 2020 15:20:25 +0100 Subject: x11-misc/i3block-contrib: add new package --- x11-misc/i3blocks-contrib/Manifest | 1 + .../i3blocks-contrib-20200302.ebuild | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 x11-misc/i3blocks-contrib/Manifest create mode 100644 x11-misc/i3blocks-contrib/i3blocks-contrib-20200302.ebuild (limited to 'x11-misc/i3blocks-contrib') diff --git a/x11-misc/i3blocks-contrib/Manifest b/x11-misc/i3blocks-contrib/Manifest new file mode 100644 index 0000000..9134a1e --- /dev/null +++ b/x11-misc/i3blocks-contrib/Manifest @@ -0,0 +1 @@ +DIST i3blocks-contrib-20200302.tar.gz 542976 BLAKE2B 8df178ee043e840604d031fe7fb344250e4dfad011fb84ead1f18ff0430c0738c60fdbb9bf01068d22c755e6326956cc56fb891542c1877a130e852d79c80d7e SHA512 6166956a405fe7fae70c86239f1b8602315e101dca01b032f642852c355c941e38b0f043fb95210df5f264da24551a3542b91ea47b1b559db5f1025a02bc040b diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302.ebuild new file mode 100644 index 0000000..173b820 --- /dev/null +++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302.ebuild @@ -0,0 +1,27 @@ +# 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" +KEYWORDS="~amd64 ~arm64 ~x86" + +SLOT="0" +LICENSE="GPL-3" + +src_unpack() { + default + mv ${PN}-* "${S}" +} + +src_prepare() { + default + sed -i 's#PREFIX = .*#PREFIX = /usr#' Makefile +} + +src_install() { + emake -j1 DESTDIR="${D}" install +} -- cgit v1.2.3