summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-03-11 14:50:13 -0500
committerBen Kohler <bkohler@gentoo.org>2020-03-11 14:50:56 -0500
commita02dfccfda0212f08b1396bed8c84311f4e7ed81 (patch)
tree16b50697ff87514b90d9fc756689089f2c3777d7 /x11-misc/i3blocks/i3blocks-1.5.ebuild
parentmedia-fonts/noto-emoji: Bump to newer snapshot (diff)
downloadgentoo-a02dfccfda0212f08b1396bed8c84311f4e7ed81.tar.gz
gentoo-a02dfccfda0212f08b1396bed8c84311f4e7ed81.tar.bz2
gentoo-a02dfccfda0212f08b1396bed8c84311f4e7ed81.zip
x11-misc/i3blocks: bump to 1.5
Closes: https://bugs.gentoo.org/671262 Closes: https://bugs.gentoo.org/672810 Closes: https://bugs.gentoo.org/672822 Closes: https://bugs.gentoo.org/677034 Closes: https://bugs.gentoo.org/712060 Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'x11-misc/i3blocks/i3blocks-1.5.ebuild')
-rw-r--r--x11-misc/i3blocks/i3blocks-1.5.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-misc/i3blocks/i3blocks-1.5.ebuild b/x11-misc/i3blocks/i3blocks-1.5.ebuild
new file mode 100644
index 00000000000..d8ceeacffbb
--- /dev/null
+++ b/x11-misc/i3blocks/i3blocks-1.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools bash-completion-r1
+
+if [[ ${PV} = 9999 ]]; then
+ inherit git-r3
+fi
+
+DESCRIPTION="highly flexible status line for the i3 window manager"
+HOMEPAGE="https://github.com/vivien/i3blocks"
+if [[ ${PV} = 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/vivien/${PN}"
+else
+ SRC_URI="https://github.com/vivien/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+SLOT="0"
+LICENSE="GPL-3"
+
+PATCHES=( "${FILESDIR}"/${PN}-disable-bash-completion.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_install() {
+ default
+ newbashcomp bash-completion ${PN}
+}