mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Added recipe for CatKeyEditor.
Added hash for release commit.
This commit is contained in:
45
haiku-apps/catkeyeditor/catkeyeditor-0.0.1.recipe
Normal file
45
haiku-apps/catkeyeditor/catkeyeditor-0.0.1.recipe
Normal file
@@ -0,0 +1,45 @@
|
||||
SUMMARY="A tool to translate catkeys used to localize Haiku apps"
|
||||
DESCRIPTION="With CatKeyEditor 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 CatKeyEditor 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"
|
||||
SRC_URI="git+https://github.com/puckipedia/BeLocalized"
|
||||
REVISION="1"
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2014-2015 Puck Meerburg"
|
||||
|
||||
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 CatKeyEditor
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
make bindcatalogs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
cp -a CatKeyEditor/objects/CatKeyEditor $appsDir
|
||||
addAppDeskbarSymlink $appsDir/CatKeyEditor
|
||||
}
|
||||
Reference in New Issue
Block a user