mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
TextWorker: new recipe (#12537)
This commit is contained in:
49
haiku-apps/textworker/textworker-0.9.1.recipe
Normal file
49
haiku-apps/textworker/textworker-0.9.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A small utility for text transformations and cleanup"
|
||||
DESCRIPTION="TextWorker is a lightweight Haiku-native utility that performs \
|
||||
various transformations on text. It supports operations like case conversion, line sorting, trimming, prefix/suffix edits, and more.
|
||||
|
||||
This is beta software provided for testing purposes and may contain bugs or incomplete features. Feedback is welcome."
|
||||
HOMEPAGE="https://github.com/dospuntos/TextWorker"
|
||||
COPYRIGHT="2025 Johan Wagenheim"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7c39aa53320551de19f1251706f7a7095c8fbafd2c31e83baaf7b22dac4b82d9"
|
||||
SOURCE_DIR="TextWorker-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
textworker$secondaryArchSuffix = $portVersion
|
||||
app:TextWorker = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secundaryArchSuffix
|
||||
lib:libicui18n$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libicui18n$secondaryArchSuffix >= 74
|
||||
devel:libicuuc$secondaryArchSuffix >= 74
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make $jobArgs
|
||||
make bindcatalogs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp TextWorker $appsDir
|
||||
addAppDeskbarSymlink $appsDir/TextWorker
|
||||
}
|
||||
Reference in New Issue
Block a user