summaryrefslogtreecommitdiff
path: root/dev-vcs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@gentoo.org>2025-11-23 20:54:24 -0500
committerEli Schwartz <eschwartz@gentoo.org>2025-11-26 23:57:57 -0500
commitc2ff77c9988e26212a3598f52b40906060d053db (patch)
tree6b86455b622571b3a085ae4a06ee4c24ac5de27e /dev-vcs
parent5f49d165aab95ad470f832fc60e3c4be82d25a62 (diff)
downloadgentoo-c2ff77c9988e26212a3598f52b40906060d053db.tar.gz
gentoo-c2ff77c9988e26212a3598f52b40906060d053db.tar.bz2
gentoo-c2ff77c9988e26212a3598f52b40906060d053db.zip
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@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-crypt/git-crypt-0.7.0.ebuild5
1 files 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
}