summaryrefslogtreecommitdiff
path: root/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-04-17 10:25:35 +0200
committerKarel Kočí <cynerd@email.cz>2020-04-17 10:25:35 +0200
commitfa4b5ec2caf718400314035d0406a31f98d9ee74 (patch)
tree1edcdafdb1f266d20c4aac21a7b03cf9ee0dc0f5 /x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild
parent7a0e5fac96803788f00d6ef8ff8cc7b450770323 (diff)
downloadgentoo-personal-overlay-fa4b5ec2caf718400314035d0406a31f98d9ee74.tar.gz
gentoo-personal-overlay-fa4b5ec2caf718400314035d0406a31f98d9ee74.tar.bz2
gentoo-personal-overlay-fa4b5ec2caf718400314035d0406a31f98d9ee74.zip
x11-misc/i3blocks-contrib: add acpi as dependency
Diffstat (limited to 'x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild')
-rw-r--r--x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild
new file mode 100644
index 0000000..75ff295
--- /dev/null
+++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-20200302-r2.ebuild
@@ -0,0 +1,34 @@
+# 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
+ sys-power/acpi
+"
+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
+}