Gentoo Archives: gentoo-proxy-maint

From: Vladimir Kuznetsov <fulade@××××××.net>
To: gentoo-proxy-maint@l.g.o
Cc: Vladimir Kuznetsov <fulade@××××××.net>
Subject: [gentoo-proxy-maint] [PATCH 2/4] net-irc/ii: fix copyright header
Date: Sat, 17 Apr 2021 16:52:33
Message-Id: 20210417165202.9809-2-fulade@riseup.net
In Reply to: [gentoo-proxy-maint] [PATCH 1/4] net-irc/ii: add myself to maintainers by Vladimir Kuznetsov
1 Package-Manager: Portage-3.0.17, Repoman-3.0.2
2 Signed-off-by: Vladimir Kuznetsov <fulade@××××××.net>
3 ---
4 net-irc/ii/ii-1.8.ebuild | 2 +-
5 net-irc/ii/ii-9999.ebuild | 2 +-
6 2 files changed, 2 insertions(+), 2 deletions(-)
7
8 diff --git a/net-irc/ii/ii-1.8.ebuild b/net-irc/ii/ii-1.8.ebuild
9 index 2bb1b227445..9593153edc6 100644
10 --- a/net-irc/ii/ii-1.8.ebuild
11 +++ b/net-irc/ii/ii-1.8.ebuild
12 @@ -1,36 +1,36 @@
13 -# Copyright 1999-2020 Gentoo Authors
14 +# Copyright 1999-2021 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 EAPI=6
18 inherit toolchain-funcs
19
20 DESCRIPTION="A minimalist FIFO and filesystem-based IRC client"
21 HOMEPAGE="https://tools.suckless.org/ii/"
22 SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
23
24 LICENSE="MIT"
25 SLOT="0"
26 KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux"
27
28 src_prepare() {
29 default
30
31 sed -i \
32 -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
33 -e '/^CC/d' \
34 -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
35 config.mk || die
36 sed -i \
37 -e 's|@${CC}|$(CC)|g' \
38 Makefile || die
39 }
40
41 src_compile() {
42 emake CC="$(tc-getCC)"
43 }
44
45 src_install() {
46 dobin ii
47 dodoc CHANGES FAQ README
48 doman *.1
49 }
50 diff --git a/net-irc/ii/ii-9999.ebuild b/net-irc/ii/ii-9999.ebuild
51 index 0cb5a9d7e15..493190ceb84 100644
52 --- a/net-irc/ii/ii-9999.ebuild
53 +++ b/net-irc/ii/ii-9999.ebuild
54 @@ -1,36 +1,36 @@
55 -# Copyright 1999-2017 Gentoo Foundation
56 +# Copyright 1999-2021 Gentoo Authors
57 # Distributed under the terms of the GNU General Public License v2
58
59 EAPI=6
60 inherit git-r3 toolchain-funcs
61
62 DESCRIPTION="A minimalist FIFO and filesystem-based IRC client"
63 HOMEPAGE="https://tools.suckless.org/ii/"
64 EGIT_REPO_URI="https://git.suckless.org/ii"
65
66 LICENSE="MIT"
67 SLOT="0"
68 KEYWORDS=""
69
70 src_prepare() {
71 default
72
73 sed -i \
74 -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
75 -e '/^CC/d' \
76 -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
77 config.mk || die
78 sed -i \
79 -e 's|@${CC}|$(CC)|g' \
80 Makefile || die
81 }
82
83 src_compile() {
84 emake CC="$(tc-getCC)"
85 }
86
87 src_install() {
88 dobin ii
89 dodoc CHANGES FAQ README
90 doman *.1
91 }
92 --
93 2.26.3