pkgname=ktexteditor pkgver=6.1.0 pkgrel=1 pkgdesc="Advanced embeddable text editor" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'qt6-qtdeclarative' 'qt6-qtspeech' 'karchive' 'kauth' 'kcodecs' 'kcolorscheme' 'kcompletion' 'kconfig' 'kconfigwidgets' 'kcoreaddons' 'kguiaddons' 'ki18n' 'kio' 'kitemviews' 'kparts' 'ktextwidgets' 'kwidgetsaddons' 'kxmlgui' 'sonnet' 'syntax-highlighting') makedepends=('extra-cmake-modules' 'cmake' 'qt6-qttools') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(3ba18f41ef5e57fe868dc295d01852d31b1590c0be893ac97ceed9229b09a9df) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }