diff --git a/haiku-apps/stylededitplus/stylededitplus-1.0.recipe b/haiku-apps/stylededitplus/stylededitplus-1.0.recipe new file mode 100644 index 000000000..8156264ab --- /dev/null +++ b/haiku-apps/stylededitplus/stylededitplus-1.0.recipe @@ -0,0 +1,49 @@ +SUMMARY="An improved version of StyledEdit" +DESCRIPTION="StyledEditPlus is an improved version of Haiku's original \ +\"notepad\" application, which comes with new features such as an easily \ +accessible toolbar and a bullet point formatting." +HOMEPAGE="https://github.com/Paradoxianer/StyledEditPlus" +COPYRIGHT="2015 Matthias \"Paradoxianer\" Lindner" +LICENSE="MIT" +REVISION="1" +srcGitRev="e6442e0e036428eeba6d33322b99856f1e158e00" +SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz" +CHECKSUM_SHA256="72115beb196882234e414fcab05c7040870b643d978dfc57aecd26f86dd7cd47" +SOURCE_FILENAME="StyledEditPlus-$portVersion-$srcGitRev.tar.gz" +SOURCE_DIR="StyledEditPlus-$srcGitRev" +srcGitRev2="52384217f32eb93f0a6b2d04453bb68f561e39c0" +SOURCE_URI_2="https://github.com/Paradoxianer/FontPanel/archive/$srcGitRev2.tar.gz" +CHECKSUM_SHA256_2="51732271c81e70dbc65fa6c2dbcf9af2b117b36affe5f17f04b71286939c01b0" + +ARCHITECTURES="x86_gcc2 ?x86_64" + +PROVIDES=" + stylededitplus = $portVersion + app:StyledEditPlus = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:g++ + cmd:make + " + +BUILD() +{ + cp -rd $sourceDir2/FontPanel-$srcGitRev2/* \ + src/ui/Panels/FontPanel/ + make OBJ_DIR=objects -C src +} + +INSTALL() +{ + install -d $appsDir + install -t $appsDir src/objects/StyledEditPlus + addAppDeskbarSymlink $appsDir/StyledEditPlus +}