diff --git a/dev-vcs/git_cola/git_cola-3.12.0.recipe b/dev-vcs/git_cola/git_cola-3.12.0.recipe index 8c95795c5..844f2a729 100644 --- a/dev-vcs/git_cola/git_cola-3.12.0.recipe +++ b/dev-vcs/git_cola/git_cola-3.12.0.recipe @@ -3,7 +3,7 @@ DESCRIPTION="git-cola is a powerful Git GUI with a slick and intuitive user inte HOMEPAGE="https://git-cola.github.io/" COPYRIGHT="2007-2020 David Aguilar and contributors" LICENSE="GNU GPL v2" -REVISION="4" +REVISION="5" SOURCE_URI="https://github.com/git-cola/git-cola/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="ec1167ea9a472214bf18f5537d96e137c724f3d28a85b3642f07dba35f04b24a" SOURCE_DIR="git-cola-$portVersion" @@ -81,8 +81,8 @@ INSTALL() addAppDeskbarSymlink $appsDir/Git\ DAG # cleanup - mkdir -p $documentationDir - mv $prefix/share/doc/git-cola $documentationDir + mkdir -p $docDir + mv $prefix/share/doc/git-cola/* $docDir # move the icons, scripts, etc... mv $prefix/share/git-cola/* $dataDir/git-cola diff --git a/dev-vcs/git_cola/patches/git_cola-3.12.0.patchset b/dev-vcs/git_cola/patches/git_cola-3.12.0.patchset index a45b8942e..c425a1b14 100644 --- a/dev-vcs/git_cola/patches/git_cola-3.12.0.patchset +++ b/dev-vcs/git_cola/patches/git_cola-3.12.0.patchset @@ -201,7 +201,7 @@ index ac3faa2..68f0fa7 100644 """Return a path relative to cola's /usr/share/doc/ directory""" - return os.path.join(_prefix, 'share', 'doc', 'git-cola', *args) + if utils.is_haiku(): -+ return os.path.join(_prefix, 'documentation', 'git-cola', *args) ++ return os.path.join(_prefix, 'documentation', 'packages', 'git_cola', *args) + else: + return os.path.join(_prefix, 'share', 'doc', 'git-cola', *args)