From 68be3edea0c7d2bb004014be1fa5e0358169a70e Mon Sep 17 00:00:00 2001 From: Humdinger Date: Thu, 3 Aug 2017 16:43:59 +0200 Subject: [PATCH] Add recpipe for CatKeysEditor v0.1.2 --- .../catkeyseditor/catkeyseditor-0.1.2.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 haiku-apps/catkeyseditor/catkeyseditor-0.1.2.recipe diff --git a/haiku-apps/catkeyseditor/catkeyseditor-0.1.2.recipe b/haiku-apps/catkeyseditor/catkeyseditor-0.1.2.recipe new file mode 100644 index 000000000..484156aaa --- /dev/null +++ b/haiku-apps/catkeyseditor/catkeyseditor-0.1.2.recipe @@ -0,0 +1,49 @@ +SUMMARY="A tool to translate catkeys used to localize Haiku apps" +DESCRIPTION="With CatKeysEditor you can translate the plain text catalog files \ +used to localize Haiku applications. + +Simply get the 'en.catkeys' of the application to be localized and rename it \ +using the standard two-letter language code of your target, e.g. 'fr.catkeys'. \ +Then open it with CatKeysEditor and start translating. +When you're done, you have to recompile the app making use of the new catkeys." +HOMEPAGE="https://github.com/puckipedia/BeLocalized" +COPYRIGHT="2014-2017 Puck Meerburg" +LICENSE="MIT" +REVISION="1" +scrGitRev="ed3655579087fbd099afeb9aaf33903556b2e0f1" +SOURCE_URI="$HOMEPAGE/archive/$scrGitRev.tar.gz" +CHECKSUM_SHA256="481c0c882143194fd54ba0aa67bc69f739e8f0bd2cc7bc40709aaabdac1b7368" +SOURCE_DIR="BeLocalized-$scrGitRev" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + catkeyseditor = $portVersion + app:CatKeysEditor = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc + cmd:make + " + +BUILD() +{ + cd CatKeysEditor + make $jobArgs OBJ_DIR=objects + make bindcatalogs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a CatKeysEditor/objects/CatKeysEditor $appsDir + addAppDeskbarSymlink $appsDir/CatKeysEditor +}