Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ii/
Date: Sun, 27 Feb 2022 13:30:02
Message-Id: 1645968595.795294eb54eae5fdcd43f52a48c8c5852a4c517d.juippis@gentoo
1 commit: 795294eb54eae5fdcd43f52a48c8c5852a4c517d
2 Author: Spencer Pavkovic <smp <AT> nandre <DOT> com>
3 AuthorDate: Sat Jan 8 23:57:01 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 13:29:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795294eb
7
8 net-irc/ii: version bump to 1.9
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Spencer Pavkovic <smp <AT> nandre.com>
12 Closes: https://github.com/gentoo/gentoo/pull/23707
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 net-irc/ii/Manifest | 1 +
16 net-irc/ii/ii-1.9.ebuild | 34 ++++++++++++++++++++++++++++++++++
17 2 files changed, 35 insertions(+)
18
19 diff --git a/net-irc/ii/Manifest b/net-irc/ii/Manifest
20 index 4871af24cd36..087a679b701a 100644
21 --- a/net-irc/ii/Manifest
22 +++ b/net-irc/ii/Manifest
23 @@ -1 +1,2 @@
24 DIST ii-1.8.tar.gz 12326 BLAKE2B 7ae90d788aaec0a359ce46370f27c0ce62c6f77e8cda61d9d168d0ebd7de927a478b42a591631f2c193f3816b2a1b39cf79607326b073bcbeefe4291e0fb95f6 SHA512 2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17
25 +DIST ii-1.9.tar.gz 12672 BLAKE2B 95da596de00fb311a69b907ab25c0089aafa512085b25fe5753206cdeaa0fec3d9a16eb38d60c68542f7002efd1052e69e1f5542f535363d38760cab508b3d99 SHA512 a665a6d1e1ffe56e370da2d703e677436ef4e18e763bb3cadbbf55e01812454ce4b79e8a20eda23846fdbe5a441ec8c534c9394995b3441472ce8a74c9035279
26
27 diff --git a/net-irc/ii/ii-1.9.ebuild b/net-irc/ii/ii-1.9.ebuild
28 new file mode 100644
29 index 000000000000..51bf246848f4
30 --- /dev/null
31 +++ b/net-irc/ii/ii-1.9.ebuild
32 @@ -0,0 +1,34 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit toolchain-funcs
38 +
39 +DESCRIPTION="A minimalist FIFO and filesystem-based IRC client"
40 +HOMEPAGE="https://tools.suckless.org/ii/"
41 +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
46 +
47 +src_prepare() {
48 + default
49 +
50 + sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
51 + -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
52 + -e 's|doc|doc/${PF}|' config.mk || die
53 +
54 + sed -i -e 's|(DOCPREFIX)/ii|(DOCPREFIX)|' Makefile || die
55 +}
56 +
57 +src_compile() {
58 + emake CC="$(tc-getCC)"
59 +}
60 +
61 +src_install() {
62 + emake \
63 + DESTDIR="${D}" \
64 + PREFIX="${EPREFIX}"/usr \
65 + install
66 +}