From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7C2F13933E for ; Fri, 2 Jul 2021 03:40:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBAF7E0837; Fri, 2 Jul 2021 03:40:21 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A3BBE0837 for ; Fri, 2 Jul 2021 03:40:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB55D3406F2 for ; Fri, 2 Jul 2021 03:40:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77DDB7B2 for ; Fri, 2 Jul 2021 03:40:15 +0000 (UTC) From: "Ryan Fox" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ryan Fox" Message-ID: <1625197156.4b3430501b54537f11872f4c684941a118bb63a9.flewkey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/foot-terminfo/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild gui-apps/foot-terminfo/foot-terminfo-9999.ebuild X-VCS-Directories: gui-apps/foot-terminfo/ X-VCS-Committer: flewkey X-VCS-Committer-Name: Ryan Fox X-VCS-Revision: 4b3430501b54537f11872f4c684941a118bb63a9 X-VCS-Branch: dev Date: Fri, 2 Jul 2021 03:40:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 67e438b1-fa25-42df-aac4-f361ef0e7ae3 X-Archives-Hash: 917fa2cb8a90dca281a1e014632d808a commit: 4b3430501b54537f11872f4c684941a118bb63a9 Author: Ryan Fox 2a03 party> AuthorDate: Fri Jul 2 03:39:16 2021 +0000 Commit: Ryan Fox 2a03 party> CommitDate: Fri Jul 2 03:39:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4b343050 gui-apps/foot-terminfo: Die if install fails Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Ryan Fox 2a03.party> gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild | 11 +++++++---- gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild | 11 +++++++---- gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild | 11 +++++++---- gui-apps/foot-terminfo/foot-terminfo-9999.ebuild | 11 +++++++---- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild index 8e4ec4da6..e2e366268 100644 --- a/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild +++ b/gui-apps/foot-terminfo/foot-terminfo-1.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,9 +21,12 @@ DEPEND="" RDEPEND="${DEPEND}" BDEPEND="sys-libs/ncurses" +src_compile() { + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo" +} + src_install() { - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" dodir /usr/share/terminfo/f/ - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die } diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild index 8e4ec4da6..e2e366268 100644 --- a/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild +++ b/gui-apps/foot-terminfo/foot-terminfo-1.7.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,9 +21,12 @@ DEPEND="" RDEPEND="${DEPEND}" BDEPEND="sys-libs/ncurses" +src_compile() { + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo" +} + src_install() { - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" dodir /usr/share/terminfo/f/ - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die } diff --git a/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild b/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild index 8e4ec4da6..e2e366268 100644 --- a/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild +++ b/gui-apps/foot-terminfo/foot-terminfo-1.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,9 +21,12 @@ DEPEND="" RDEPEND="${DEPEND}" BDEPEND="sys-libs/ncurses" +src_compile() { + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo" +} + src_install() { - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" dodir /usr/share/terminfo/f/ - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die } diff --git a/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild index 8e4ec4da6..e2e366268 100644 --- a/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild +++ b/gui-apps/foot-terminfo/foot-terminfo-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -21,9 +21,12 @@ DEPEND="" RDEPEND="${DEPEND}" BDEPEND="sys-libs/ncurses" +src_compile() { + tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" || die "Failed to compile terminfo" +} + src_install() { - tic -x -o "${S}" -e foot,foot-direct "${S}/foot.info" dodir /usr/share/terminfo/f/ - cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" - cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" + cp "${S}/f/foot" "${D}/usr/share/terminfo/f/foot" || die + cp "${S}/f/foot-direct" "${D}/usr/share/terminfo/f/foot-direct" || die }