summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-03-12 15:20:25 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-03-12 15:20:25 +0100
commit7b7fd7ba9d048d449719aebc45b1a0baa3e61263 (patch)
tree063317740e68911ad57799ea002b7bc4db94cbd2
parent1ae482e1ff79062a31fedb79a332531b200768b1 (diff)
downloadgentoo-personal-overlay-7b7fd7ba9d048d449719aebc45b1a0baa3e61263.tar.gz
gentoo-personal-overlay-7b7fd7ba9d048d449719aebc45b1a0baa3e61263.tar.bz2
gentoo-personal-overlay-7b7fd7ba9d048d449719aebc45b1a0baa3e61263.zip
x11-misc/i3block-contrib: add new package
-rw-r--r--x11-misc/i3blocks-contrib/Manifest1
-rw-r--r--x11-misc/i3blocks-contrib/i3blocks-contrib-20200302.ebuild27
2 files changed, 28 insertions, 0 deletions
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
+}