60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
SUMMARY="A code editor"
|
|
DESCRIPTION="Koder is a code editor for Haiku based on Scintilla editing \
|
|
component. It supports syntax highlighting for several programming languages \
|
|
and additional languages can be added by the user. It also features multiline \
|
|
editing, folding, brace highlighting, and some other things supported by \
|
|
Scintilla."
|
|
HOMEPAGE="https://github.com/KapiX/Koder"
|
|
COPYRIGHT="2016-2020 Kacper Kasper"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/KapiX/Koder/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7a873283f8439a885b908f9c933a7433929df65b7fe8d4304b9bb21947f195e2"
|
|
SOURCE_DIR="Koder-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
USER_SETTINGS_FILES="
|
|
settings/Koder directory
|
|
"
|
|
|
|
PROVIDES="
|
|
koder$secondaryArchSuffix = $portVersion
|
|
app:Koder = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
scintilla${secondaryArchSuffix}_lexers
|
|
lib:libscintilla$secondaryArchSuffix
|
|
lib:libyaml_cpp$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libscintilla$secondaryArchSuffix
|
|
devel:libyaml_cpp$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -af objects/Koder $appsDir
|
|
|
|
mkdir -p $dataDir/Koder
|
|
cp -r data/* $dataDir/Koder
|
|
|
|
addAppDeskbarSymlink $appsDir/Koder
|
|
}
|