mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
git-cola: fix documentation location (#8407)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user