# Description: Plain-text file notepad with markdown support and ownCloud integration # URL: https://www.qownnotes.org/ # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: aspell botan qt6-5compat qt6-svg qt6-tools qt6-websockets name=qownnotes version=25.9.0 release=1 source=(https://github.com/pbek/QOwnNotes/releases/download/v$version/qownnotes-$version.tar.xz) build() { if command -v ccache >/dev/null 2>&1; then export PATH=$(echo $PATH | tr ':' '\n' | grep -E '/(s?bin)$' | tr '\n' ':') fi cmake -S $name-$version -B build -G Ninja \ -D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_LIBDIR=lib \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ -D BUILD_WITH_SYSTEM_BOTAN=ON \ -D QON_QT6_BUILD=ON \ -Wno-dev cmake --build build DESTDIR=$PKG cmake --install build }