diff --git a/haiku-apps/textworker/textworker-0.9.1.recipe b/haiku-apps/textworker/textworker-0.9.1.recipe new file mode 100644 index 000000000..4972ac7f4 --- /dev/null +++ b/haiku-apps/textworker/textworker-0.9.1.recipe @@ -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 +}