mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
64 lines
1.5 KiB
Bash
64 lines
1.5 KiB
Bash
SUMMARY="An advanced text editor"
|
|
DESCRIPTION="An advanced text editor, written in Python, with useful features:
|
|
* Syntax highlighting
|
|
* Code completion
|
|
* Session restore
|
|
* Code folding
|
|
* Macros
|
|
* External commands
|
|
* Spell checker"
|
|
HOMEPAGE="https://gitlab.com/JakobDev/jdTextEdit"
|
|
COPYRIGHT="2019-2021 JakobDev"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitlab.com/JakobDev/jdTextEdit/-/archive/$portVersion/jdTextEdit-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2eaf2a1f13105f6f450b010ee468694597bd409d6fa32dd578d7a21fde0ebb75"
|
|
SOURCE_DIR="jdTextEdit-$portVersion"
|
|
ADDITIONAL_FILES="
|
|
distribution.json
|
|
jdtextedit.rdef
|
|
"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
jdtextedit = $portVersion
|
|
app:jdTextEdit = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python3.8
|
|
chardet_python38
|
|
editorconfig_core_py_python38
|
|
jdtranslationhelper_python38
|
|
pyenchant_python38
|
|
pyqt5_python38
|
|
qscintilla_python38
|
|
requests_python38
|
|
setuptools_python38
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
setuptools_python38
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
python3.8 setup.py install \
|
|
--root=/ --prefix=$prefix \
|
|
--install-data=$dataDir
|
|
|
|
cp $portDir/additional-files/distribution.json \
|
|
$prefix/lib/python3.8/vendor-packages/jdTextEdit/distribution.json
|
|
|
|
mkdir -p $appsDir
|
|
mv $prefix/bin/jdTextEdit $appsDir/jdTextEdit
|
|
settype -t application/x-vnd.Be-elfexecutable $appsDir/jdTextEdit
|
|
|
|
rc $portDir/additional-files/jdtextedit.rdef
|
|
resattr -o $appsDir/jdTextEdit $portDir/additional-files/jdtextedit.rsrc
|
|
|
|
addAppDeskbarSymlink $appsDir/jdTextEdit
|
|
}
|