# Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=ghostwriter pkgver=23.04.3 pkgrel=2 pkgdesc="Distraction-free markdown editor" url="https://invent.kde.org/office/ghostwriter/" arch="aarch64 x86_64" license="GPL-3.0-or-later" depends="qt5-qtsvg" makedepends=" extra-cmake-modules hunspell-dev sonnet-dev kcoreaddons-dev kdoctools-dev kxmlgui-dev kconfigwidgets-dev qt5-qtsvg-dev qt5-qttools-dev qt5-qtbase-dev qt5-qtwebchannel-dev qt5-qtwebengine-dev samurai " subpackages="$pkgname-doc $pkgname-lang" _repo_url="https://invent.kde.org/office/ghostwriter.git" source="https://download.kde.org/stable/release-service/$pkgver/src/ghostwriter-$pkgver.tar.xz" options="!check" # no tests build() { CXXFLAGS="$CXXFLAGS -flto=auto" \ cmake -B build -G Ninja -Wno-dev \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" d14e8c9928ec0638b98ca152d35ae88a7a4a582d4268e8f251252f080e4490b5c9433a814e6306acf7856c6a253f6e7aa9ed326328f90e0da8ef1214ef5a432c ghostwriter-23.04.3.tar.xz "