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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8EB0158086 for ; Thu, 28 Oct 2021 18:22:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CB43E0878; Thu, 28 Oct 2021 18:22:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82DBCE0878 for ; Thu, 28 Oct 2021 18:22:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4E41C343B57 for ; Thu, 28 Oct 2021 18:21:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D8EF17D for ; Thu, 28 Oct 2021 18:21:57 +0000 (UTC) From: "Vladislav Dudar" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vladislav Dudar" Message-ID: <1635445207.6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f.seal331gentoo@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/dmd_core/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/dmd_core/dmd_core-0.6.2.ebuild X-VCS-Directories: dev-libs/dmd_core/ X-VCS-Committer: seal331gentoo X-VCS-Committer-Name: Vladislav Dudar X-VCS-Revision: 6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f X-VCS-Branch: dev Date: Thu, 28 Oct 2021 18:21:57 +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: 28d28bc8-4509-4ed4-8e0a-2d56f200417e X-Archives-Hash: 93574516f2a2cd2b08174bf533fe57ee commit: 6e7a8a71c77d1ecc4720e83a2f3b6a6347a20f9f Author: Vladislav Dudar gmail com> AuthorDate: Thu Oct 28 18:19:18 2021 +0000 Commit: Vladislav Dudar gmail com> CommitDate: Thu Oct 28 18:20:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6e7a8a71 dev-libs/dmd_core: address ebuild review Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Vladislav Dudar gmail.com> dev-libs/dmd_core/dmd_core-0.6.2.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-libs/dmd_core/dmd_core-0.6.2.ebuild b/dev-libs/dmd_core/dmd_core-0.6.2.ebuild index 102995cba..687299aeb 100644 --- a/dev-libs/dmd_core/dmd_core-0.6.2.ebuild +++ b/dev-libs/dmd_core/dmd_core-0.6.2.ebuild @@ -40,12 +40,12 @@ src_install() { set_target_arch dolib.a "${S}"/target/${target_arch}-unknown-linux-gnu/release/lib${PN}.a insinto /usr/$(get_libdir)/pkgconfig - cp "${FILESDIR}/dmd_core.pc" "${S}" - sed -i "s/%VERSION%/${PV}/g" "${S}/dmd_core.pc" + cp "${FILESDIR}/dmd_core.pc" "${S}" || die "failed to copy pkgconfig file" + sed -i "s/%VERSION%/${PV}/g" "${S}/dmd_core.pc" || die "failed to set version in pkgconfig file" doins "${S}/dmd_core.pc" sed -e "s:^libdir.*:libdir=${EPREFIX}/usr/$(get_libdir):" \ - -i "${ED}"/usr/$(get_libdir)/pkgconfig/dmd_core.pc + -i "${ED}"/usr/$(get_libdir)/pkgconfig/dmd_core.pc || die "failed to set libdir in pkgconfig file" dodoc "${S}/LICENSE.txt" dodoc "${S}/README.md" }