commit:     c2ff77c9988e26212a3598f52b40906060d053db
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 24 01:54:24 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Nov 27 04:57:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ff77c9

dev-vcs/git-crypt: cleanup install handling

- pass DESTDIR rather than overload PREFIX. Supported since 2014:
  
https://github.com/AGWA/git-crypt/commit/73bf395b3b3c52b6009a94b8e1d4af90f1cd05b8

  While we are at it, handle Prefix. It is totally trivial.

- remove very outdated dodir entirely. Since 2015, the Makefile creates
  directories as needed!
  
https://github.com/AGWA/git-crypt/commit/ede1461563709498d397d8230d233c3d9a25880e

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-vcs/git-crypt/git-crypt-0.7.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dev-vcs/git-crypt/git-crypt-0.7.0.ebuild 
b/dev-vcs/git-crypt/git-crypt-0.7.0.ebuild
index 5703128011f4..6367769268c3 100644
--- a/dev-vcs/git-crypt/git-crypt-0.7.0.ebuild
+++ b/dev-vcs/git-crypt/git-crypt-0.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -30,6 +30,5 @@ src_configure() {
 }
 
 src_install() {
-       dodir /usr/bin
-       emake PREFIX="${D}"/usr install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 }

Reply via email to