summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-01-20 09:07:10 -0600
committerBen Kohler <bkohler@gentoo.org>2021-01-20 09:16:50 -0600
commitcbea404e02d5f5191ff4353d5810d43ee5903ffd (patch)
tree5fee53152e0e1fbdc19ec56eee04fc553172993b /x11-misc/i3blocks-contrib
parentdev-php/PEAR-Archive_Tar: Drop old (diff)
downloadgentoo-cbea404e02d5f5191ff4353d5810d43ee5903ffd.tar.gz
gentoo-cbea404e02d5f5191ff4353d5810d43ee5903ffd.tar.bz2
gentoo-cbea404e02d5f5191ff4353d5810d43ee5903ffd.zip
x11-misc/i3blocks-contrib: new package
Bug: https://bugs.gentoo.org/766057 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/i3blocks-contrib')
-rw-r--r--x11-misc/i3blocks-contrib/Manifest1
-rw-r--r--x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild28
-rw-r--r--x11-misc/i3blocks-contrib/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/x11-misc/i3blocks-contrib/Manifest b/x11-misc/i3blocks-contrib/Manifest
new file mode 100644
index 000000000000..3cc417c32e8a
--- /dev/null
+++ b/x11-misc/i3blocks-contrib/Manifest
@@ -0,0 +1 @@
+DIST i3blocks-contrib-1.4.0_p20201127.tar.gz 738457 BLAKE2B 1db16c40323d0c191bb44c50d6a66523391adfdf9652976f78238fffe0ee50d99d3bd6fbcfd1a0eeef8308fd466a3eeda479299f462b4d4d31ae2f2bc7ea6b31 SHA512 ff09c7b8e4b630d014f0441342835dbf03642f32de6806a1204eccb6166eade190abe43b331ef72aaa3ba5a77f9690ae8c36a9ef9aa6d312ae5e543a46b99a72
diff --git a/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild
new file mode 100644
index 000000000000..653c846b5891
--- /dev/null
+++ b/x11-misc/i3blocks-contrib/i3blocks-contrib-1.4.0_p20201127.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit vcs-snapshot
+
+COMMIT=154001e5713c26c70063446022919225b6f916f0
+
+DESCRIPTION="A set of scripts for i3blocks, contributed by the community"
+HOMEPAGE="https://github.com/vivien/i3blocks-contrib"
+SRC_URI="https://github.com/vivien/i3blocks-contrib/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND=""
+RDEPEND="x11-misc/i3blocks"
+BDEPEND=""
+
+src_prepare() {
+ sed -i -e '/^$(_BLOCKS):/ s/$/ installdirs/' Makefile
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+}
diff --git a/x11-misc/i3blocks-contrib/metadata.xml b/x11-misc/i3blocks-contrib/metadata.xml
new file mode 100644
index 000000000000..827ce55718e3
--- /dev/null
+++ b/x11-misc/i3blocks-contrib/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">vivien/i3blocks-contrib</remote-id>
+ </upstream>
+</pkgmetadata>