Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/foot-terminfo/
Date: Sat, 03 Jul 2021 09:59:15
Message-Id: 1625197156.4b3430501b54537f11872f4c684941a118bb63a9.andrewammerlaan@gentoo
1 commit: 4b3430501b54537f11872f4c684941a118bb63a9
2 Author: Ryan Fox <flewkey <AT> 2a03 <DOT> party>
3 AuthorDate: Fri Jul 2 03:39:16 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 2 03:39:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b343050
7
8 gui-apps/foot-terminfo: Die if install fails
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>
12
13 gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild | 11 +++++++----
14 gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild | 11 +++++++----
15 gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild | 11 +++++++----
16 gui-apps/foot-terminfo/foot-terminfo-9999.ebuild | 11 +++++++----
17 4 files changed, 28 insertions(+), 16 deletions(-)
18
19 diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild
20 index 8e4ec4da6..e2e366268 100644
21 --- a/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild
22 +++ b/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild
23 @@ -1,4 +1,4 @@
24 -# Copyright 2021 Gentoo Authors
25 +# Copyright 1999-2021 Gentoo Authors
26 # Distributed under the terms of the GNU General Public License v2
27
28 EAPI=7
29 @@ -21,9 +21,12 @@ DEPEND=""
30 RDEPEND="${DEPEND}"
31 BDEPEND="sys-libs/ncurses"
32
33 +src_compile() {
34 + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo"
35 +}
36 +
37 src_install() {
38 - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
39 dodir /usr/share/terminfo/f/
40 - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
41 - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
42 + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die
43 + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die
44 }
45
46 diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild
47 index 8e4ec4da6..e2e366268 100644
48 --- a/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild
49 +++ b/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild
50 @@ -1,4 +1,4 @@
51 -# Copyright 2021 Gentoo Authors
52 +# Copyright 1999-2021 Gentoo Authors
53 # Distributed under the terms of the GNU General Public License v2
54
55 EAPI=7
56 @@ -21,9 +21,12 @@ DEPEND=""
57 RDEPEND="${DEPEND}"
58 BDEPEND="sys-libs/ncurses"
59
60 +src_compile() {
61 + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo"
62 +}
63 +
64 src_install() {
65 - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
66 dodir /usr/share/terminfo/f/
67 - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
68 - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
69 + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die
70 + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die
71 }
72
73 diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild
74 index 8e4ec4da6..e2e366268 100644
75 --- a/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild
76 +++ b/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild
77 @@ -1,4 +1,4 @@
78 -# Copyright 2021 Gentoo Authors
79 +# Copyright 1999-2021 Gentoo Authors
80 # Distributed under the terms of the GNU General Public License v2
81
82 EAPI=7
83 @@ -21,9 +21,12 @@ DEPEND=""
84 RDEPEND="${DEPEND}"
85 BDEPEND="sys-libs/ncurses"
86
87 +src_compile() {
88 + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo"
89 +}
90 +
91 src_install() {
92 - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
93 dodir /usr/share/terminfo/f/
94 - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
95 - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
96 + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die
97 + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die
98 }
99
100 diff --git a/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild
101 index 8e4ec4da6..e2e366268 100644
102 --- a/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild
103 +++ b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild
104 @@ -1,4 +1,4 @@
105 -# Copyright 2021 Gentoo Authors
106 +# Copyright 1999-2021 Gentoo Authors
107 # Distributed under the terms of the GNU General Public License v2
108
109 EAPI=7
110 @@ -21,9 +21,12 @@ DEPEND=""
111 RDEPEND="${DEPEND}"
112 BDEPEND="sys-libs/ncurses"
113
114 +src_compile() {
115 + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo"
116 +}
117 +
118 src_install() {
119 - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info"
120 dodir /usr/share/terminfo/f/
121 - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot"
122 - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct"
123 + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die
124 + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die
125 }