From cb730aba2e0b49847bc5911d29ff847780f941d5 Mon Sep 17 00:00:00 2001 From: Johan Wagenheim Date: Sat, 5 Jul 2025 01:40:54 -0400 Subject: [PATCH] TextWorker: new recipe (#12537) --- haiku-apps/textworker/textworker-0.9.1.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 haiku-apps/textworker/textworker-0.9.1.recipe 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 +}