40 lines
952 B
Bash
40 lines
952 B
Bash
SUMMARY="A mass replacement tool"
|
|
DESCRIPTION="jdTextEdit allows replacing text in all files in a folder"
|
|
HOMEPAGE="https://gitlab.com/JakobDev/jdReplace"
|
|
COPYRIGHT="2019 JakobDev"
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://gitlab.com/JakobDev/jdReplace/-/archive/$portVersion/jdReplace-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8a8df34b3dd4c80ac3561f109162fb3ef81008a50ebc3ce3915ef0a3139e16b5"
|
|
SOURCE_DIR="jdReplace-$portVersion"
|
|
|
|
ARCHITECTURES="any"
|
|
|
|
PROVIDES="
|
|
jdreplace = $portVersion
|
|
app:jdReplace = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
cmd:python3.8
|
|
pyqt5_python38
|
|
jdtranslationhelper_python38
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
setuptools_python38
|
|
"
|
|
|
|
INSTALL()
|
|
{
|
|
python3.8 setup.py install \
|
|
--root=/ --prefix=$prefix \
|
|
--install-data=$dataDir
|
|
mkdir -p $appsDir
|
|
mv $prefix/bin/jdReplace $appsDir/jdReplace
|
|
settype -t application/x-vnd.Be-elfexecutable $appsDir/jdReplace
|
|
addAppDeskbarSymlink $appsDir/jdReplace "jdReplace"
|
|
}
|