commit:     bfe1732ea66b15094d759d468f671cb9f9e51ec0
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 17:01:45 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 18:22:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfe1732e

dev-vcs/sourcegit: sync live 9999 version

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-vcs/sourcegit/sourcegit-8.32.ebuild                           | 8 ++++++++
 .../sourcegit/{sourcegit-8.32.ebuild => sourcegit-9999.ebuild}    | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/dev-vcs/sourcegit/sourcegit-8.32.ebuild 
b/dev-vcs/sourcegit/sourcegit-8.32.ebuild
index acc5636f8a47..31ccff25abc3 100644
--- a/dev-vcs/sourcegit/sourcegit-8.32.ebuild
+++ b/dev-vcs/sourcegit/sourcegit-8.32.ebuild
@@ -103,6 +103,14 @@ pkg_setup() {
        dotnet-pkg_pkg_setup
 }
 
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
 src_prepare() {
        sed -i "./build/resources/_common/applications/${PN}.desktop"   \
                -e "s|/opt/sourcegit/sourcegit|sourcegit|g"     \

diff --git a/dev-vcs/sourcegit/sourcegit-8.32.ebuild 
b/dev-vcs/sourcegit/sourcegit-9999.ebuild
similarity index 96%
copy from dev-vcs/sourcegit/sourcegit-8.32.ebuild
copy to dev-vcs/sourcegit/sourcegit-9999.ebuild
index acc5636f8a47..31ccff25abc3 100644
--- a/dev-vcs/sourcegit/sourcegit-8.32.ebuild
+++ b/dev-vcs/sourcegit/sourcegit-9999.ebuild
@@ -103,6 +103,14 @@ pkg_setup() {
        dotnet-pkg_pkg_setup
 }
 
+src_unpack() {
+       dotnet-pkg_src_unpack
+
+       if [[ -n "${EGIT_REPO_URI}" ]] ; then
+               git-r3_src_unpack
+       fi
+}
+
 src_prepare() {
        sed -i "./build/resources/_common/applications/${PN}.desktop"   \
                -e "s|/opt/sourcegit/sourcegit|sourcegit|g"     \

Reply via email to