SUMMARY="The Hierarchical Notebook" DESCRIPTION="An Hierarchical notebook to enter and manage every kind of notes \ and ideas in a structured manner. It was created out of the desire to let my own chaos of papers, \ notes, and post-it's vanish. Those items are useful but the chaos I produced was not. With TuxCards you have a tool at your hand to free your mind by creating \ notes using richtext and images. It has been proven to work on Haiku, Linux, Mac and Windows." HOMEPAGE="https://www.tuxcards.de/" COPYRIGHT="2015-2018 Alexander Theel" LICENSE="GNU GPL v2" REVISION="1" srcGitRev="f496695228c2fec4942597c74abde746076eac09" SOURCE_URI="https://github.com/eli-schwartz/tuxcards/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="ea7af79b974608c769baf0ce1e3d425e0a9784e651d809c38e2c33933836bd14" SOURCE_FILENAME="tuxcards-$portVersion-$srcGitRev.tar.gz" SOURCE_DIR="tuxcards-$srcGitRev" ADDITIONAL_FILES="tuxcards.rdef.in" ARCHITECTURES="!x86_gcc2 x86 x86_64" if [ "$targetArchitecture" = x86_gcc2 ]; then SECONDARY_ARCHITECTURES="x86" fi PROVIDES=" tuxcards$secondaryArchSuffix = $portVersion app:Tuxcards = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libGL$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5Gui$secondaryArchSuffix lib:libQt5Svg$secondaryArchSuffix lib:libQt5Widgets$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libGL$secondaryArchSuffix devel:libintl$secondaryArchSuffix devel:libQt5Core$secondaryArchSuffix devel:libQt5Gui$secondaryArchSuffix devel:libQt5Svg$secondaryArchSuffix devel:libQt5Widgets$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:make cmd:qmake$secondaryArchSuffix >= 5 " BUILD() { qmake make $jobArgs } INSTALL() { mkdir -p $appsDir/Tuxcards cp tuxcards $appsDir/Tuxcards/Tuxcards cp -r src/gui/cactusbar/flowers $appsDir/Tuxcards/ local APP_SIGNATURE="application/x-vnd.tuxcards" local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`" local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -c 1-1`" local LONG_INFO="$SUMMARY" sed \ -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ -e "s|@MAJOR@|$MAJOR|" \ -e "s|@MIDDLE@|$MIDDLE|" \ -e "s|@MINOR@|${MINOR:-0}|" \ -e "s|@LONG_INFO@|$LONG_INFO|" \ $portDir/additional-files/tuxcards.rdef.in > tuxcards.rdef addResourcesToBinaries tuxcards.rdef $appsDir/Tuxcards/Tuxcards addAppDeskbarSymlink $appsDir/Tuxcards/Tuxcards }